react-time-range-slider icon indicating copy to clipboard operation
react-time-range-slider copied to clipboard

max value and min value issue

Open sajanv88 opened this issue 5 years ago • 2 comments

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.

sajanv88 avatar Jun 23 '19 10:06 sajanv88

I'm checked it is working fine. Can you please share me some more details.

ashvin27 avatar Aug 14 '19 16:08 ashvin27

Same issue I have noticed during dragging track to most right/left side in demo https://ashvin27.github.io/react-time-range-slider/examples/

sanjayg-infobeans avatar Oct 24 '19 08:10 sanjayg-infobeans