-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Iframe: adjust keydown event bubbling #54565
Conversation
Size Change: 0 B Total Size: 1.62 MB ℹ️ View Unchanged
|
Flaky tests detected in fa14cd6. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6224916108
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The current implementation prevents any component inside the iframe from listening to events on the document or window. A cleaner solution would be to stop event probation exactly at the element at which we re-dispatch the events: the iframe element.
This you need this in any way?
LGTM regardless
Yes, needed in #54543. |
What?
The current implementation prevents any component inside the iframe from listening to events on the document or window. A cleaner solution would be to stop event probation exactly at the element at which we re-dispatch the events: the iframe element.
Why?
How?
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast