react-spectrum
react-spectrum copied to clipboard
Range calendar fills in range when month change on mobile
Provide a general summary of the issue here
If you're on mobile or at least in browser on mobile there's an issue where selecting say the second of this month and then going back a month will show the selected range as starting from the 2nd of last month going into the next month.
๐ค Expected Behavior?
I don't think it should show anything.
๐ฏ Current Behavior
https://react-spectrum.adobe.com/react-aria-starter/index.html?path=/docs/rangecalendar--docs
It'll happen here if you use mobile mode on the inspect.
๐ Possible Solution
Seems to be storing the day of the month as selected and getting it's wires crossed
๐ฆ Context
No response
๐ฅ๏ธ Steps to Reproduce
On mobile:
Select the second of this month. Then go back a month.
Version
Other
What browsers are you seeing the problem on?
Chrome
If other, please specify.
Happens in the docs
What operating system are you using?
windows/android
๐งข Your Company/Team
UKSI
๐ท Tracking Issue
No response