-
Notifications
You must be signed in to change notification settings - Fork 271
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
"cool fun experimental" notice creates a somewhat unusable experience in Firefox #1106
Comments
cc @brandonpayton would you be able to investigate? |
Yep, I can investigate. |
I am able to reproduce this. Looking into it. |
It looks like this is due to CSS nesting which is not supported in Firefox 115 (the current ESR major version). Firefox added support for CSS nesting in Firefox 117. |
Opened PR #1117 to fix this. It should have been much faster to fix, but FF ESR was behaving sluggishly with Playground, especially with dev tools open. |
Fixes #1106 where the experimental notice takes over most of the content area. <img alt="Screenshot 2024-03-14 at 11 06 52 AM" width="1728" src="https://private-user-images.githubusercontent.com/515050/312893019-757cc95c-b84b-421e-b34c-b9429b23f896.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTA4Nzg5NDIsIm5iZiI6MTcxMDg3ODY0MiwicGF0aCI6Ii81MTUwNTAvMzEyODkzMDE5LTc1N2NjOTVjLWI4NGItNDIxZS1iMzRjLWI5NDI5YjIzZjg5Ni5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMzE5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDMxOVQyMDA0MDJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mNTVlZTY2MGE5MGRhNmY1YjNiODJmNWJiOWVjNjA5OTk3ZDVkMjM0YjUzODA1NDAzYTRjOTFiMWFlYmZmODBiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.ad2mS5a6hdiT6e7lc3TW1gXPbiw5faGZaCtXta0qDQU"> ## What problem is it solving? The experiemental-and-fun notice is styled with nested CSS which is not supported by Firefox ESR v115.x. Firefox v117.x introduced CSS nesting support. ## How is the problem addressed? This PR removes use of nested CSS for now. ## Testing Instructions - Install and launch Firefox ESR v115.x - Run `npm run dev` - Navigate to http://localhost:5400/website-server/ and observe the large notice - If the notice is missing, clear cookies for the current site and reload the page. - Apply this patch - Clear cookies for the current site, reload the page, and observe the notice is displayed reasonably at the bottom of the screen. <img width="456" alt="image" src="https://github.com/WordPress/wordpress-playground/assets/530877/2ccd26c6-50f8-4822-b84f-e1b2864bb3ef"> NOTE: Playground is failing to load in FF ESR from localhost, but it is likely unrelated. This is just a CSS change, and the problem occurs on both trunk and this branch.
Let's keep this issue open until the fix auto-deploys in 9 hours and we can confirm it worked. |
Looks like the notice is OK now: Thanks for the report, @jshwlkr! |
Specifically Firefox 115.8.0esr on OSX14.4. Can't seem to dismiss the notice.
This issue does not appear to occur for the embedded playground instance on https://wordpress.org/playground/ but does occur for instances like the one at https://playground.wordpress.net/
The text was updated successfully, but these errors were encountered: