davidchin/react-input-range

change href value of slider to "javascript:void(0)"

Closed this issue · 3 comments

Code

replace '#' with "javascript:void(0)" to remove unwanted link properties

trivial.

danmo commented

this is needed

danmo commented

right now on handle click, sometimes it navigates away

v1.0.2 should fix this issue. It no longer uses <a> for the slider. There are also some API changes, so you'll need to update accordingly if you're still using v0.x (please refer to the readme and the changelog). Let me know if there's any issue. :)