Skip to content

Column resizing followup - task: Fix focus marshalling to resizer #3027

@snowystinger

Description

@snowystinger

🐛 Bug Report

Followup issue #3007 item:

Remove setTimeout that is compensating for restoreFocus so that selecting resize from the menu actually moves focus to the resizer

When using the Column Header Menu to initiate resizing, focus is not moved to the resizer. This is especially problematic when keyboard navigating because there is not other way for a keyboard user to initiate resizing.

🤔 Expected Behavior

😯 Current Behavior

💁 Possible Solution

We may be able to remove the setTimeout which tries to wait for the menu to close before moving focus to the resizer. If focus has been moved, restore focus should not try to move it again.

🔦 Context

💻 Code Sample

🌍 Your Environment

Software Version(s)
react-spectrum
Browser
Operating System

🧢 Your Company/Team

🕷 Tracking Issue (optional)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions