RFR: 8306447: Adding an element to a long existing list may cause the first visible element to jump
Andy Goryachev
angorya at openjdk.org
Mon Apr 24 18:24:07 UTC 2023
On Wed, 19 Apr 2023 13:13:45 GMT, Johan Vos <jvos at openjdk.org> wrote:
> Calculate position of first visible element before propagating changes.
> Make sure to restore the position of said element after the changes are done.
>
> Fix JDK-8306447
When testing with the MonkeyTester https://github.com/openjdk/jfx/pull/1097 , noticed that the view position still jumps when adding an item if the list is scrolled to somewhere in the middle, see the attached video clip.
https://user-images.githubusercontent.com/107069028/234082728-e8a0a201-3038-4175-a6d0-6fe80b07d7be.mp4
Could I be missing something?
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1099#issuecomment-1520629072
More information about the openjfx-dev
mailing list