Open Swatinem opened 10 years ago
Would love to see this as well. I see @Swatinem has submitted a fix. Any chance that will be rolled into the distribution .js?
As an optional alternative, is there any way to update the slider position on a click/tap event? I can get as far as getting the X coordinates of the click (relative to the range element) but can't sort out how to adjust the handle's location to the nearest step location for that element. If there's a way to dynamically refresh the Powerange element without re-initializing from scratch, that could also work by simply getting the click event to set the input's value (and then refreshing the .range-slider element).
Any input is greatly appreciated. Love this script.
Touching the handle itself is a pain sometimes. It would be nice if the slider bar itself is a tap target.