-
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
Gallery: Make sure the mobile warning notice only runs when images are added to a new block #36326
Conversation
Size Change: +6 B (0%) Total Size: 1.08 MB
ℹ️ View Unchanged
|
I tested this by:
The message appears on a cleared cache only when I insert one or more images. After both dismissing and ignoring the message (with a page refresh) I no longer see the message until I clear my local cache. I don't think the perf test is related as it complains about trashing posts (?) |
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.
Tested and confirmed this fixed the issue. I see no snackbar notice when I hover, or insert the gallery. As soon as I add images to the gallery, the notice is shown. 👍
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.
🖖
5b11d07
to
85f2033
Compare
…o a new gallery block
85f2033
to
7992786
Compare
…o a new gallery block (#36326) Co-authored-by: Glen Davies <[email protected]>
…o a new gallery block (#36326) Co-authored-by: Glen Davies <[email protected]>
Cherry picked into the Gutenberg 11.9 release in: 369a056 |
Description
Currently the new warning added to alert users to mobile app compatibility issues with the new gallery block also shows if you mouse over the Gallery block preview. This PR makes sure it only runs if images are added to a new gallery block.
How has this been tested?
Screenshots
Before:
After: