react-scrollbars-custom
react-scrollbars-custom copied to clipboard
Add "isDragging" parameter to onScrollStart
Is your feature request related to a problem? Please describe. I'd like to change the style of the scrollbar thumb only when the user drags the thumb and not on every mouse scroll. I couldn't find a way to do that with the current implementation.
Describe the solution you'd like
Add another parameter to the onScrollStart with the trigger type (scroll/drag).
Thanks!
Just noticed that there is onDragStart in the Thumb props, however, it looks like onDragEnd is not firing :(