whoisandy / react-rangeslider

A lightweight responsive react range slider component.A fast & lightweight react component as a drop in replacement for HTML5 input range slider element.

Home Page:https://whoisandy.github.io/react-rangeslider/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Impossible to reach max value with step more than 1

abalmus opened this issue · comments

Hi guys I'm facing this issue in case I have range like: min 49 and max 100 with step 5 I can reach only 99. So I can not move slide to the end and display the maximal value.

Hi this is due to HTML base input type="range" element which do not handle that case, basically if the maxValue is not a multiple of the stepValue starting from minValue