Clean backport of 8306447: Adding an element to a long existing list may cause the first visible element to jump Reviewed-by: angorya, kcr
------------- Commit messages: - 8306447: Adding an element to a long existing list may cause the first visible element to jump Changes: https://git.openjdk.org/jfx17u/pull/157/files Webrev: https://webrevs.openjdk.org/?repo=jfx17u&pr=157&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8306447 Stats: 62 lines in 2 files changed: 56 ins; 1 del; 5 mod Patch: https://git.openjdk.org/jfx17u/pull/157.diff Fetch: git fetch https://git.openjdk.org/jfx17u.git pull/157/head:pull/157 PR: https://git.openjdk.org/jfx17u/pull/157