RFR: 8282100: Missed top/left bouncing for ScrollPane on Raspberry Pi with Touchscreen

Kevin Rushforth kcr at openjdk.java.net
Sat Mar 5 15:46:13 UTC 2022


On Fri, 18 Feb 2022 15:21:49 GMT, Alexander Scherbatiy <alexsch at openjdk.org> wrote:

> There is the bouncing when scrolling a node on a ScrollPane to the right/bottom (the node on the scroll pane is scrolled further than its width/height so the background is visible and then automatically is scrolled back to the node bounds) on Raspberry Pi with Touchscreen.
> There is no bouncing when node is scrolled to the left/top.
> 
> The fix updates ScrollPaneSkin.updatePosX()/updatePosY() methods to not discard out of the range top/left minX/Y values in case the touch is supported.

@AlexanderScherbatiy This is ready for you to integrate.

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

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


More information about the openjfx-dev mailing list