react-rangeslider icon indicating copy to clipboard operation
react-rangeslider copied to clipboard

Disable set value on knob click?

Open andrewmartin opened this issue 7 years ago • 0 comments

Hi there, I have an interesting issue that I couldn't see anywhere else.

We have a fairly wide styled "handle", or "knob", (~10% of the total bar width). What's happening is, when you click on the knob, the click event is propagated through to the range behind it, which is kind of a funky behavior. If I click on the knob, I probably don't want to set the value until I drag it.

Is there an easy place to fix this behavior so the value only changes once the drag event begins and ends? I was thinking about forking this package or submitting a PR.

andrewmartin avatar Feb 21 '18 22:02 andrewmartin