RFR: 8244421: Wrong scrollbar position on touch enabled devices
Kevin Rushforth
kcr at openjdk.java.net
Wed May 6 23:20:46 UTC 2020
On Wed, 6 May 2020 23:16:41 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
>> `VirtualFlow` makes use of `VirtualScrollBar` controls, that are laid out next to the clipped container region, by
>> default.
>> However, when touch is supported, these scrollBars are floating controls laid out over the container. Therefore, in
>> this case, when the viewport dimensions are updated, the presence of the scrollBars shouldn't be taken into account.
>
> @aghaisas can you also take a look?
I've asked Ajit to review it (and I presume Johan will review as well?)
It looks like a safe enough fix. Have you tested it on multiple platforms?
-------------
PR: https://git.openjdk.java.net/jfx/pull/208
More information about the openjfx-dev
mailing list