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 #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. > > 2024-0424-adding-element.mp4 > Could I be missing something? Not sure I understand this scenario, but I extended the existing test and fixed a case where the index/offset might change when the cellcount changes. ------------- PR Comment: https://git.openjdk.org/jfx/pull/1099#issuecomment-1528859922