react-spectrum
react-spectrum copied to clipboard
React aria components DateField unexpected behavior when reentering years with trailing zeroes
Provide a general summary of the issue here
Not being able to reliably and predictably enter a year in the year date segment
๐ค Expected Behavior?
I should be able to enter any year at any point without deleting everything written in the year field.
๐ฏ Current Behavior
I cant reenter years with trailing zeroes without first deleting all digits written in the year field.
๐ Possible Solution
No response
๐ฆ Context
No response
๐ฅ๏ธ Steps to Reproduce
Steps to reproduce:
- Enter a full 4 digit year in DateField
- Start reentering (type any digit higher than 0)
- start typing zeroes
Randomly it will stop entering new values at 1, 2, or 3 digit max for a year
You can reproduce the issue on any DateField example https://react-spectrum.adobe.com/react-aria/DateField.html
Here is a demo https://share.cleanshot.com/cT8SNXkD
Version
latest
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
mac
๐งข Your Company/Team
No response
๐ท Tracking Issue
No response