react-time-range-slider
react-time-range-slider copied to clipboard
max value and min value issue
I noticed the maxValue and minValue is not working correctly for example:
const valueRange: {
start: "00:00",
end: "23:59"
}
const value: {
start: "08:30",
end: "11:30"
}
<template>
<TimeRangeSlider
format={24}
disabled={false}
draggableTrack={true}
maxValue={valueRange.end}
minValue={valueRange.start}
name={"time_range"}
step={15}
value={this.value}/>
</template>
Expected: for the above code the draggableTrack
shouldn't be draggable when it reach to it maxValue and same for minValue.
Current: I can drag the track about the maxValue and same for minValue.
I'm checked it is working fine. Can you please share me some more details.
Same issue I have noticed during dragging track to most right/left side in demo https://ashvin27.github.io/react-time-range-slider/examples/