Skip to content

GridList item data-focus-visible is set after a drop action #4904

@ProTip

Description

@ProTip

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions