react-spectrum icon indicating copy to clipboard operation
react-spectrum copied to clipboard

Range calendar fills in range when month change on mobile

Open Marlon-Brendo opened this issue 3 weeks ago โ€ข 1 comments

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

Marlon-Brendo avatar Nov 19 '25 15:11 Marlon-Brendo