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

eduardsdv duke at openjdk.java.net
Mon Dec 6 09:27:18 UTC 2021


On Mon, 6 Dec 2021 08:22:37 GMT, eduardsdv <duke at openjdk.java.net> wrote:

>> Fix VirtualFlow.scrollToTop(int) doesn't scroll to the top of the last element but to the bottom of the last element.
>
> 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.

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

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


More information about the openjfx-dev mailing list