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

Use document.activeElement to double check that the webview really has focus #134164

Merged
merged 1 commit into from
Oct 4, 2021

Conversation

alexdima
Copy link
Member

Fixes #132641

@mjbvz mjbvz added this to the October 2021 milestone Sep 29, 2021
@mjbvz
Copy link
Contributor

mjbvz commented Sep 29, 2021

Thanks for looking into this @alexdima!

While I think this change is OK, I'm marking it for October because I'm not confident enough that it won't potentially cause more pain that it fixes. Focus has been a big pain point for webviews , and relying on document.activeElement has caused issues in the past. Some of these seem to be resolved now that we use iframes but I'd still like more testing before shipping this

@mjbvz mjbvz merged commit 93ab0da into main Oct 4, 2021
@mjbvz mjbvz deleted the alex/issue-132641 branch October 4, 2021 15:13
@github-actions github-actions bot locked and limited conversation to collaborators Nov 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot paste in search field because webview steals the paste
2 participants