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

blur active element instead of focusing document #683

Merged
merged 1 commit into from
Oct 29, 2024
Merged

blur active element instead of focusing document #683

merged 1 commit into from
Oct 29, 2024

Conversation

Rich-Harris
Copy link
Member

closes #664. Instead of actively focusing the <body> when the search box is closed, just blur whatever the active element is. Has the same effect in terms of SFNSP, but doesn't cause an unwanted focus ring to appear

@dummdidumm dummdidumm merged commit ceb315a into main Oct 29, 2024
5 checks passed
@dummdidumm dummdidumm deleted the gh-664 branch October 29, 2024 09:47
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.

Strange line in docs then opening search
2 participants