Closed pmarsh-scottlogic closed 7 months ago
I note that onChangeCommitted only fires on mouseup, not on (arrow) keyup, so if a keyboard user holds down an arrow key, we still see multiple events fired.
That's just a MUI Slider implementation choice though - the HTML spec does not state when the change event should fire for a native
<input type="range">
, neither for mouse nor keyboard events, so MUI don't have any native spec to copy.
the only way I can see to fix that is to have a button to press when we're done configuring...
Notes
onChange
event, we now update the component'svalue
state variable on everyonChange
event, and only submit it on theonChangeCommitted
event.Checklist
Have you done the following?