RFR: 8276167: VirtualFlow.scrollToTop doesn't scroll to the top of the last element [v2]

Johan Vos jvos at openjdk.java.net
Mon Dec 6 12:43:18 UTC 2021


On Mon, 6 Dec 2021 09:23:53 GMT, eduardsdv <duke at openjdk.java.net> wrote:

>> eduardsdv has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
>> 
>>  - Merge branch 'openjdk:master' into bugfix/JDK-8276167-VirtualFlow-scrollToTop
>>  - JDK-8276167: fixing VirtualFlow.scrollToTop(int)
>
> I tested it again. Without the changes in this PR the bug is still there. 
> If the item is larger than the viewport, the VirtualFlow.scrollToTop(int) scrolls to the end instead of to top of the item.

@eduardsdv This would be a good fix, but can you add a test that fails before and succeeds after this patch? Let me know if you need help with that. Thanks!

-------------

PR: https://git.openjdk.java.net/jfx/pull/656


More information about the openjfx-dev mailing list