react-scrollbars-custom icon indicating copy to clipboard operation
react-scrollbars-custom copied to clipboard

Can scroll on x-axis when disabled in the demo

Open rshackleton opened this issue 7 years ago • 5 comments

When the x-axis scroll is disabled in the settings you can still scroll left and right by clicking the middle mouse button and scrolling left/right whilst also scrolling up/down.

rshackleton avatar Oct 17 '18 18:10 rshackleton

@rshackleton tell me the browser and OS please. For me (chrome on Win10) works fine, i cant scroll with any known way to scroll (arrows, mousewheel rotation and move left/right, holding mlb and moving the mouse)

xobotyi avatar Oct 17 '18 19:10 xobotyi

I can get it to happen on Win10 on chrome (both v69 and v70). If I hold mousewheel down and move mouse left and right. Its not consistent though, have to try a few times to get it to scroll.

jordanbb avatar Oct 17 '18 20:10 jordanbb

Lol, got it! It happens when you scroll diagonally and it is with style overflow: hidden scroll; that should forbid to scroll horisontally but not vertically. Works both ways: overflow: hidden scroll; and overflow: scroll hidden;

Looks like a chrome bug IMO🤔

xobotyi avatar Oct 17 '18 20:10 xobotyi

Searched for existing bugreports at chromium bugtracker - nothing.

Will create new one a bit later;

xobotyi avatar Oct 17 '18 21:10 xobotyi

Created a chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=985085&can=2&q=Diagonal

xobotyi avatar Jul 17 '19 20:07 xobotyi