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(oopifs): do not emulate focus in oopifs #5270

Merged
merged 1 commit into from Feb 3, 2021
Merged

fix(oopifs): do not emulate focus in oopifs #5270

merged 1 commit into from Feb 3, 2021

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Feb 3, 2021

  • We don't need this, since it should propagate from the main frame.
  • Forcing focus in oopif immediately focuses it and blurs currently focused frame. This leads to undesired side effects, e.g. selects being closed.

Fixes #5226.

- We don't need this, since it should propagate from the main frame.
- Forcing focus in oopif immediately focuses it and blurs currently
  focused frame. This leads to undesired side effects, e.g. selects
  being closed.
Copy link
Collaborator

@aslushnikov aslushnikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any chance we can add a test for this?

@dgozman
Copy link
Contributor Author

dgozman commented Feb 3, 2021

Any chance we can add a test for this?

I tried, but it is hard.

@dgozman dgozman merged commit 4cad345 into microsoft:master Feb 3, 2021
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.

[BUG] Codegen behaves inconsistently across browsers when dealing with dropdowns
2 participants