slider
slider copied to clipboard
How to detect click on bar vs drag
My use case is that I need to do X when user click somewhere on the bar but not by dragging the knob and Y when the user drag the knob.
I did not find any callback or state to let me do that. I also noticed that activeHandleRender
has the prop dragging
as true even when I don't drag it. I initially wanted to watch the props of the activeHandleRender
as workaround but I cannot because of that.
Is there a feature I did not see or it's just not possible currently ?