-
-
Notifications
You must be signed in to change notification settings - Fork 277
Closed
Labels
browser: FirefoxAffects or fixes behavior in Mozilla Firefox.Affects or fixes behavior in Mozilla Firefox.component: number fieldChanges related to the number field component.Changes related to the number field component.type: bugIt doesn't behave as expected.It doesn't behave as expected.
Description
Bug report
Current behavior
If the NumberInput component is in a Dialog, changing the value by scrolling with ScrubArea will also closes the dialog when i stop holding the mouse, rendering the component momentarily unusable
Expected behavior
releasing mouse (and potentially thumb on mobile devices) should not propagate events to dialogs
Reproducible example
https://stackblitz.com/edit/awgfv3sl?file=src%2FApp.tsx
Base UI version
v1.0.0-beta.6
Which browser are you using?
Firefox
Which OS are you using?
Linux
Which assistive tech are you using (if applicable)?
None
Additional context
None
Metadata
Metadata
Assignees
Labels
browser: FirefoxAffects or fixes behavior in Mozilla Firefox.Affects or fixes behavior in Mozilla Firefox.component: number fieldChanges related to the number field component.Changes related to the number field component.type: bugIt doesn't behave as expected.It doesn't behave as expected.