RFR: 8323511: Scrollbar Click jumps inconsistent amount of pixels [v3]
eduardsdv
duke at openjdk.org
Tue May 7 09:47:05 UTC 2024
On Mon, 6 May 2024 18:05:06 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
>> I agree with you, at least with scrolling when clicking on the scrollbar track.
>> I would like to change the amount of scroll pixels to the viewport length.
>>
>> PageUp/PageDown not only scrolls the view, but also moves the selection/focus, so it makes sense to align the cells up/down.
>
>> PageUp/PageDown not only scrolls the view, but also moves the selection/focus, so it makes sense to align the cells up/down.
>
> You are right about focus/selection!
>
> This brings up another question: for accessibility reasons, do we want to add key bindings for the vertical scrolling in addition to the horizontal ones in #1393 ? For example, when the cell height exceeds the viewport height, there should be a way to scroll the content vertically using unit increment via keyboard only.
>
> What do you think?
I followed @andy-goryachev-oracle's suggestion and changed the block increment to the viewport length.
I also fixed the scroll behavior for the case described in my comment https://github.com/openjdk/jfx/pull/1326#discussion_r1591327052.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1326#issuecomment-2097885886
More information about the openjfx-dev
mailing list