-
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
Remove Tooltip workarounds added in the site and block editor #54450
Conversation
Size Change: -64 B (0%) Total Size: 1.53 MB
ℹ️ View Unchanged
|
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.
LGTM 🚀 🚢
fb5d3c4
to
58e7d2e
Compare
It appears this PR introduced a bug where the site editor's pattern page now throws a console error as reported in #53835 (comment). Testing the commit prior to this show no error. |
I fixed the warning in #54492. It changes |
Thank you @aaronrobertshaw for sharing, and @kevin940726 for creating a fix. Much appreciated! 🙇♀️ |
What?
The recent update to Tooltip (#48222) fixed a bug where an
<Icon>
component could not be rendered as a child (#43129). A wrapper was added as a workaround, and in some cases, additional CSS.There was also a wrapper around a
<Button>
with a to-do note to remove after merging #44198, so I included that as well.Why?
To clean up what is now unnecessary wrappers and CSS. Also, to highlight that this workaround is no longer needed.
How?
Removing the wrapper and unnecessary CSS, if any.
Testing Instructions
All of these changes can be tested in the Site Editor:
Patterns
Editor (using Group block)