Bug report
Not 100% certain if this is strictly a bug or a feature request, to me it feels like it's some unexpected behaviour, so I've put it as a bug for now
Current behavior
When using keyboard input to control the slider, holding down the arrow key for example will commit once per step change.
Expected behavior
When using mouse input to drag the slider, a commit is only triggered on mouseup when the slider is "released", rather than triggering per-step traversed. I would expect the same behaviour for keyboard input when a key is held down as well, so that a commit is only triggered when the key is released.
Reproducible example
https://stackblitz.com/edit/bn212p9c?file=src%2FApp.tsx
Base UI version
v1.7.0
Which browser are you using?
Chrome
Which OS are you using?
Windows
Which assistive tech are you using (if applicable)?
N/a
Additional context
Provide any additional context that might help us identify the problem and find a solution.
Bug report
Not 100% certain if this is strictly a bug or a feature request, to me it feels like it's some unexpected behaviour, so I've put it as a bug for now
Current behavior
When using keyboard input to control the slider, holding down the arrow key for example will commit once per step change.
Expected behavior
When using mouse input to drag the slider, a commit is only triggered on mouseup when the slider is "released", rather than triggering per-step traversed. I would expect the same behaviour for keyboard input when a key is held down as well, so that a commit is only triggered when the key is released.
Reproducible example
https://stackblitz.com/edit/bn212p9c?file=src%2FApp.tsx
Base UI version
v1.7.0
Which browser are you using?
Chrome
Which OS are you using?
Windows
Which assistive tech are you using (if applicable)?
N/a
Additional context
Provide any additional context that might help us identify the problem and find a solution.