Open wellguimaraes opened 4 days ago
It's related to this config on MacOS:
But I think it should be somehow prevented for NumberFields.
Some locales use space for group separators, so we can't ignore it. And periods are used for both group and decimal depending on the locale.
I'm not sure there is anything we can do about it since it's an OS level thing, not browser.
Provide a general summary of the issue here
https://react-spectrum.adobe.com/react-aria/NumberField.html
Try quickly hitting space twice on a number field and it'll add
.
to the field.Does it even make sense to allow space char?
๐ค Expected Behavior?
Nothing
๐ฏ Current Behavior
.
is added to the field value.๐ Possible Solution
Don't know yet.
๐ฆ Context
No response
๐ฅ๏ธ Steps to Reproduce
https://react-spectrum.adobe.com/react-aria/NumberField.html
Try quickly hitting space twice on a number field and it'll add
.
to the field.Version
latest
What browsers are you seeing the problem on?
Chrome, Microsoft Edge, Safari, Other
If other, please specify.
Arc (any Chromium based)
What operating system are you using?
Mac OS 14.5
๐งข Your Company/Team
No response
๐ท Tracking Issue
No response