RFR: 8244421: Wrong scrollbar position on touch enabled devices

Jose Pereda jpereda at openjdk.java.net
Tue May 5 16:55:07 UTC 2020


`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.

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

Commit messages:
 - Don’t resize viewport with scrollbar dimensions when touch is supported

Changes: https://git.openjdk.java.net/jfx/pull/208/files
 Webrev: https://webrevs.openjdk.java.net/jfx/208/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8244421
  Stats: 7 lines in 1 file changed: 5 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jfx/pull/208.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/208/head:pull/208

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


More information about the openjfx-dev mailing list