react-input-range
react-input-range copied to clipboard
Value changing but slider not moving
Hi, I have an issue using the library: I can see that the value is correctly changing when console.log(value), but the slider doesn't move when I move it...
` function onValueChange(newval: any){ console.log(newval); // here it's ok value=newval; //trying to force it }
return ( <div className="slider m-4 mb-6"> <InputRange minValue={min} maxValue={max} step={step} onChange={onValueChange} value={value} /> );`
Any idea?
Thanks a lot!