-
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
Update the framer motion dependency to the latest version #49822
Conversation
Looks like the package upgrade didn't go as expected. Let me check what happened here. |
Size Change: +1.05 kB (0%) Total Size: 1.37 MB
ℹ️ View Unchanged
|
298e4b6
to
0bb9152
Compare
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.
I'm seeing type issues on the popover component
Looks like there's still some JS unit test failures due to the update in the Popover component. Any idea @ciampo |
It was the |
@@ -5,7 +5,7 @@ exports[`URLPopover matches the snapshot in its default state 1`] = ` | |||
<span> | |||
<div | |||
class="components-popover block-editor-url-popover is-positioned" | |||
style="position: absolute; top: 0px; left: 0px; transform: none;" | |||
style="position: absolute; top: 0px; left: 0px; transform: translateZ(0);" |
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.
I'm guessing this is an internal implementation details to framer motion animations change. Maybe perf related
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.
seems like it
Thanks @jsnajdr |
Relevant conversation for more context #46227 (comment) |
It looks something in this PR broke the e2e test, in my debugging it seems that when clicking "browse all templates" in the site editor title popover (the one you trigger from the header of the editor), the navigation happens properly but the popover lingers in the DOM for some reason even though it should unmount entirely since it's not rendered anymore. |
I'm also not able to reproduce the popover lingering manually, I only see it in the tests debug trace. |
Is that e2e test the remaining blocker? |
@mtias yes |
92ebc00
to
36dd22e
Compare
36dd22e
to
96c5353
Compare
WHAT
🤖 Generated by Copilot at 298e4b6
Updated
framer-motion
dependency inpackages/components/package.json
to fix animation issues and use new features. Part of a larger dependency update and bug fix pull request.🤖 Generated by Copilot at 298e4b6
WHY
Latest is the greatest
HOW
🤖 Generated by Copilot at 298e4b6
framer-motion
dependency to fix animation issues and use latest features (link)