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:17 UTC 2021
On Mon, 6 Dec 2021 11:26:24 GMT, Jeanette Winzenburg <fastegal at openjdk.org> wrote:
>> 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.
>
>> 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.
>
> ahhh .. finally I understand what you mean - bolding of the quote ;) Might be obvious for everybody except me .. but the bug report is missing that crucial information ...
I agree with @kleopatra . It would be good to have this info in JBS, as well as with a small sample app.
-------------
PR: https://git.openjdk.java.net/jfx/pull/656
More information about the openjfx-dev
mailing list