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

Fix lost focus when modals open/close #12437

Merged
merged 3 commits into from
Nov 30, 2019

Conversation

ClearlyClaire
Copy link
Contributor

We were trying to restore focus before the inert attribute was unset, which may not work.
Furthermore, wicg-inert introduces a delay between the inert attribute being removed and the element being focusable again. Work around that.

@Gargron Gargron merged commit 35b142a into mastodon:master Nov 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants