Closed VinitBhavsar closed 3 years ago
Did you find the answer to this ? facing same issue.
Nope @faizansohail077
@faizansohail077
Try min-max value in single state.
minMax: [23,28]
Slider Props:
<MultiSlider enabledOne={true} enabledTwo={true} isMarkersSeparated={true} onValuesChange={(value) => { this.setState({ minMax: value }) }} max={60} min={18} values={this.state.minMax} allowOverlap={false} />
@faizansohail077 Try min-max value in single state.
minMax: [23,28]
Slider Props:<MultiSlider enabledOne={true} enabledTwo={true} isMarkersSeparated={true} onValuesChange={(value) => { this.setState({ minMax: value }) }} max={60} min={18} values={this.state.minMax} allowOverlap={false} />
Hi Vinit, this one didnt fix it... Were you able the issue? I am facing the same
@Anant5555 can you share your code?
Steps to Reproduce
<MultiSlider enabledOne={true} enabledTwo={true} isMarkersSeparated={true} onValuesChange={(value) => { let val = value.toString().split(",") this.setState({ minAge: val[0], maxAge: val[1] }) }} max={60} min={18} sliderLength={SCREEM_WIDTH - 90} values={[minAge, maxAge]} onToggleOne={() => { }} onToggleTwo={() => { }} allowOverlap={false} minMarkerOverlapDistance={10} minMarkerOverlapStepDistance={10} />
Expected Behavior
Actual Behavior