Do not want to have deagable funcationlaity in input type range
i want my input type range like when someone will try to drag it . it should not be a dragable . but when someone will clicl on a specific point in input type range it should move to that here is the codepen link"https://codepen.io/Talha-Mustafa/pen/LYagXQJ
1 Reply
i don't think you can adjust the thumb behaviour without setting the appearance to none. So in that case you will need to style the whole input range.
These are the styles that you have access too (with some example styling).
To make the thumb not draggable, you could add a
pointer-events: none
to every selector that contains ...-thumb
this is not mine, had it saved somewhere, but unfortunately didn't note who to credit for this