react-spectrum
react-spectrum copied to clipboard
Hidden field getting focus with Tab during Add attachments
๐ Bug Report
Unknown field getting focus while pressing Tab during Add attachments
๐ค Expected Behavior
After Select files, next visible button is 'Cancel' button and should be highlighted
๐ฏ Current Behavior
After Select files, user has to press 'Tab' two times to get focus to cancel button
๐ Possible Solution
๐ฆ Context
Step 1: Click on 'Add attachment' button Step 2: Click on Discussion header with mouse Step 3: Now press 'Tab' on keyboard (2 times) Step 4: After 'Select files' is highlighted, press 'Tab'
๐ป Code Sample
๐ Your Environment
| react-spectrum | 3.15.1 |
|---|---|
| Browser | Chrome 94.0.4606.81 |
| Operating System | MacBook Pro |
๐งข Your Company/Team
๐ท Tracking Issue (optional)
Hey! thanks for the issue. Did you mean to attach a codesandbox or link to an example where we can reproduce your steps?
Please do not post any links to adobe in this issue as it is public. If you need more help, please reach out in Slack.
Is there codesandbox to demonstrate this issue with pure React Spectrum outside of an application?