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

Breaks GitLab search interface #7

Open
sersorrel opened this issue Jan 9, 2024 · 0 comments
Open

Breaks GitLab search interface #7

sersorrel opened this issue Jan 9, 2024 · 0 comments

Comments

@sersorrel
Copy link

somehow this extension breaks gitlab's search box.

repro: head to e.g. https://gitlab.com/gitlab-org/gitlab/-/issues, then click on the search bar. a popup opens:

image

clicking away from the search bar should close the popup, but with this extension installed, it doesn't.

some slightly painful experimentation with devtools shows that, yes, the blur event reaches the listener in disable.js before it hits the intended handleBlur listener. I guess this is because of the true argument to addEventListener?

if I'm correctly understanding what that does – "prevent any blur events on any element from reaching the page" – that seems like it would break a lot of things? is there a way to only block blur events that are in some sense attached to "the whole page" rather than a specific individual element?

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

No branches or pull requests

1 participant