-
Notifications
You must be signed in to change notification settings - Fork 29
NTP: Add useBlurWorkaround hook to fix WebKit blur issue in Omnibar #1820
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
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for content-scope-scripts ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Temporary Branch UpdateThe temporary branch has been updated with the latest changes. Below are the details:
Please use the above install command to update to the latest version. |
[Beta] Generated file diffTime updated: Mon, 14 Jul 2025 05:41:19 GMT Integration
File has changed Windows
File has changed Apple
File has changed |
8050c8b
to
e20d5d2
Compare
Oh, weird, the |
Asana Task/Github Issue: https://app.asana.com/1/137249556945/task/1210784594537119
Description
Fixes an issue in the Omnibar widget where, in the macOS browser, moving focus to the address bar doesn’t close the suggestions list.
The problem is that Safari/WebKit doesn’t trigger a blur on input elements when focus is moved to the address bar.
I noticed that Safari/WebKit does correctly remove
:focus
styling, though, so my “clever” workaround is to detect when:focus
is removed by setting a CSS variable in the:focus
style and then polling for changes to this.Testing Steps
Checklist
Please tick all that apply: