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

Add "isDragging" parameter to onScrollStart

Open ranihorev opened this issue 6 years ago • 1 comments

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!

ranihorev avatar Oct 23 '19 19:10 ranihorev

Just noticed that there is onDragStart in the Thumb props, however, it looks like onDragEnd is not firing :(

ranihorev avatar Oct 23 '19 20:10 ranihorev