RFR: 8090123: Items are no longer visible when collection is changed [v9]

Andy Goryachev angorya at openjdk.org
Tue Mar 7 17:01:38 UTC 2023


On Tue, 7 Mar 2023 14:09:38 GMT, Karthik P K <kpk at openjdk.org> wrote:

>> When a large number of items were scrolled in the `ChoiceBox`, the scrolled offset was carried forward when the list is replaced with small number of items. Hence the scroll up arrow was displayed with empty popup.
>> 
>> Changed code to scroll to top before popup display when content height of `ChoiceBox` is smaller than the scrolled offset.
>> 
>> Added system test to validate the fix.
>
> Karthik P K has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Address review comments

Marked as reviewed by angorya (Committer).

This PR looks good.  We can address [JDK-8303060](https://bugs.openjdk.org/browse/JDK-8303060) and [JDK-8303064](https://bugs.openjdk.org/browse/JDK-8303064) separately.

-------------

PR: https://git.openjdk.org/jfx/pull/1039


More information about the openjfx-dev mailing list