You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When permanentTrackY is enabled, while the scrollbar track reacts to changes in content size, the ability to scroll via mouse wheel or trackpad (i.e. not dragging the scrollbar) disappears.
Steps to reproduce it and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have extra dependencies other than react-scrollbars-custom. Paste the link to your JSFiddle or CodeSandbox example below:
Here is a reproduction. You can comment out permanentTrackY to see the difference.
I would expect that the behavior would be the same as when permanentTrackY is disabled.
A little about versions:
I'm running OSX Catalina, tested on Chrome/Brave/Safari/Firefox. Tested in both latest React 16.x and 17, latest react-scrollbars-custom version. Don't know if it worked in a previous version or not.
The text was updated successfully, but these errors were encountered:
Addresses xobotyi#171.
Setting the `style` attribute on an element violates stricter CSP and
requires a policy of `style-src 'unsafe-inline'`. Setting each style in
the style property of the element resolves this issue.
kiliancs
added a commit
to kiliancs/react-scrollbars-custom
that referenced
this issue
Oct 13, 2023
Addresses xobotyi#171.
Setting the `style` attribute on an element violates stricter CSP and
requires a policy of `style-src 'unsafe-inline'`. Setting each style in
the style property of the element resolves this issue.
What is the current behavior?
When permanentTrackY is enabled, while the scrollbar track reacts to changes in content size, the ability to scroll via mouse wheel or trackpad (i.e. not dragging the scrollbar) disappears.
Steps to reproduce it and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have extra dependencies other than
react-scrollbars-custom
. Paste the link to your JSFiddle or CodeSandbox example below:Here is a reproduction. You can comment out permanentTrackY to see the difference.
https://codesandbox.io/s/sharp-engelbart-fnc2e?file=/src/App.js
What is the expected behavior?
I would expect that the behavior would be the same as when permanentTrackY is disabled.
A little about versions:
I'm running OSX Catalina, tested on Chrome/Brave/Safari/Firefox. Tested in both latest React 16.x and 17, latest react-scrollbars-custom version. Don't know if it worked in a previous version or not.
The text was updated successfully, but these errors were encountered: