-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Remove Firefox work-around to type Space in RichText components inside button/summary #53014
Conversation
Size Change: -72 B (0%) Total Size: 1.44 MB
ℹ️ View Unchanged
|
Flaky tests detected in e3ff402. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5678303043
|
Have you tested Safari as well? |
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.
Nice work, @Aljullu!
I am a Windows user and have tested in the following environments:
- OS: Windows 11
- Firefox 115.0.2: Works as expected
- Edge 115.0.1901.183: No regression
- Chrome 115.0.5790.110: No regression
I approve this PR, but would like to wait for someone to test it in various browsers on Mac 😅
Thanks for taking a look, folks!
I don't have a Mac, but tested on GNOME Web, which uses WebKit as its engine, the same as Safari, and it works great there. I tested Chrome and Firefox as well. |
Sorry for the late reply. Just to be sure, I will call out on Slack to see if anyone can test this PR on a Mac. |
I tested this PR on Mac with different browsers:
It works correctly! |
This reverts commit ce1ef42 from #50540.
What and why?
In #50540, a work-around was introduced to fix typing Space when the
RichText
component is inside button/summary in Firefox. Since then, the Firefox bug has been fixed and released in the latest Firefox ESR version, Firefox 115. Because of that, it should be safe to remove the work-around from the Gutenberg codebase.Testing Instructions
Screenshots or screencast
Enregistrament.de.pantalla.des.de.2023-07-20.11-31-57.webm