Disable track click
dotuven opened this issue · 1 comments
dotuven commented
Is there a way to disable click/touch on the track, but still be able to drag the handle?
It would be a useful option if we have multiple sliders in a form and wants to prevent the user from doing unintended changes of the value if the thumb touches the track while scrolling on a smartphone/tablet etc.
denist3r commented
You could implement it by using pointer-event property in CSS
@include bp-sm-max { .rangeslider { pointer-events: none; &__handle { pointer-events: auto; } } }