Integrated: 8277853: With Touch enabled devices scrollbar disappears and the table is scrolled to the beginning

meghanEmbrace duke at openjdk.java.net
Thu Jan 27 13:55:44 UTC 2022


On Thu, 2 Dec 2021 10:12:50 GMT, meghanEmbrace <duke at openjdk.java.net> wrote:

> With a touch-enabled device, the scrollbar disappears a short while after it's used. During the layout, updateHbar() checks the hbar visibility and resets the clip, causing the user to be scrolled fully to the left when trying to access columns on the right. Using hbar.isVisible() is not feasible as there are times when the scrollbar is necessary but not visible (such as on touch-enabled devices where the scrollbar disappears when not in use, or when hidden by CSS). Hence, it is more reliable to use the variable that determines whether the hbar is necessary.

This pull request has now been integrated.

Changeset: 78d92275
Author:    Meghan <Meghan at embrace.co.za>
Committer: Kevin Rushforth <kcr at openjdk.org>
URL:       https://git.openjdk.java.net/jfx/commit/78d922750747517553b101f5ff4af5361b1e7959
Stats:     36 lines in 2 files changed: 35 ins; 0 del; 1 mod

8277853: With Touch enabled devices scrollbar disappears and the table is scrolled to the beginning

Reviewed-by: kcr, mhanl

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

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


More information about the openjfx-dev mailing list