-
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
Editor: Animate the inserter and list view panels #60665
Conversation
So far this breaks zoom-out mode because:
We should either:
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Also, I don't really understand why the patterns inserter behaves differently between post and site editors, it should behave the same way IMO. |
Size Change: +283 B (0%) Total Size: 1.75 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.
Compared to the sidebar one, this one feels a bit laggier, maybe we should look into optimising the inserter showing 🤔 I can see for example the scrollable height increasing while the animation is happening
If we want to have an experience where you compose pages with patterns, i.e. an "Add new page" flow where you browse and add patterns to a page without having to go in-and-out of the inserter, we can't have the sidebar covering the page. |
If we do animate these sidebars ideally they'd use the same easing as the inspector/global styles. If you open the inserter, then open list view, there's a jump that would be good to eliminate (similar issue to the one in #60561 when switching between inspector + global styles). |
Yes, let's bring zoom out to the post editor so we can make these 1:1. |
I think this PR was not ready to merge :) you folks are too quick. |
Similar to #60561
Related to #60423
What?
This PR animates the left sidebar of the post and site editors (opening and closing the sidebar).
Testing Instructions