Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Popup] focus anchor after hide? #439

Closed
carmacleod opened this issue Jan 23, 2021 · 1 comment
Closed

[Popup] focus anchor after hide? #439

carmacleod opened this issue Jan 23, 2021 · 1 comment
Assignees

Comments

@carmacleod
Copy link

I didn't see any mention in the explainer of where focus goes after the popup is hidden (i.e. in the case where focus was moved into the popup and didn't just stay on the anchor).

Maybe it's just left up to the author, but if the author doesn't manage focus on hide (which happens), then I think there's an opportunity for a nice default behavior, which is to return focus to the anchor, if there is one. It would be good if the "focus after hide" behavior was explicit in the explainer (perhaps in the Dismissing the popup section).

@carmacleod
Copy link
Author

Sorry @dandclark - wrong template.
Closing this, and opened #441

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants