On Wed, 19 Apr 2023 13:13:45 GMT, Johan Vos <j...@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