Closed
Description
Provide a general summary of the issue here
The following lines of code are throwing an error within my application:
react-spectrum/packages/@react-aria/calendar/src/useCalendarCell.ts
Lines 335 to 337 in 01c394e
This does not block user's from interacting with the calendar, but it will cause an application to throw the error.
🤔 Expected Behavior?
If there is an error and it is safe to ignore, it should be swallowed by useCalendarCell.
😯 Current Behavior
If there is an error when e.target.releasePointerCapture(e.pointerId);
is called, it is thrown in the browser.
💁 Possible Solution
Wrap the function in a try catch and swallow the error if it is safe to be ignored.
🔦 Context
No response
🖥️ Steps to Reproduce
N/A
Version
3.32.1 of react-aria
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
Windows 10
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
Metadata
Metadata
Assignees
Labels
No labels