GridList item data-focus-visible is set after a drop action
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 1.6k
- Avg merge
- 3d 9m
- Merged PRs (30d)
- 59
Description
### Provide a general summary of the issue here
Aria component `GridList` documents item `data-focus-visible` as being "Whether the item is currently keyboard focused.".
However, it appears to be getting set after a drop operation completes on the list.
### 🤔 Expected Behavior?
The item is not focused because a keyboard action did not occur.
### 😯 Current Behavior
Item has the `data-focus-visible` attribute set.
### 💁 Possible Solution
_No response_
### 🔦 Context
_No response_
### 🖥️ Steps to Reproduce
This is observable in the first drag-and-drop example in the documentation: https://react-spectrum.adobe.com/react-aria/GridList.html#drag-and-drop .
### Version
1.0.0-nightly.4070
### What browsers are you seeing the problem on?
Chrome
### If other, please specify.
_No response_
### What operating system are you using?
Windows, Linux
### 🧢 Your Company/Team
_No response_
### 🕷 Tracking Issue
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.