> 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: Correctig typo in test name ------------- Changes: - all: https://git.openjdk.org/jfx/pull/1039/files - new: https://git.openjdk.org/jfx/pull/1039/files/5c868729..09665a1d Webrevs: - full: https://webrevs.openjdk.org/?repo=jfx&pr=1039&range=02 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1039&range=01-02 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jfx/pull/1039.diff Fetch: git fetch https://git.openjdk.org/jfx pull/1039/head:pull/1039 PR: https://git.openjdk.org/jfx/pull/1039