-
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
List view: fix stuck moving animation on Enter #59644
Conversation
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. |
Size Change: +8 B (0%) Total Size: 1.71 MB
ℹ️ View Unchanged
|
Oh, nice, this looks promising! I'll take this for a spin later on today. |
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.
This feels solid to me in testing in both the post and site editors. Thanks for fixing this up! ✨
WP 6.5 release leads - contributors believe this PR is sufficiently important that it should be included in the final release. The rationale is presented here. @andrewserong and @ellatrix may be able to add additional context that I"m not aware of. |
Co-authored-by: ellatrix <[email protected]> Co-authored-by: andrewserong <[email protected]>
I just cherry-picked this PR to the pick/wp-65-rc-2 branch to get it included in the next release: c66577a |
Co-authored-by: ellatrix <[email protected]> Co-authored-by: andrewserong <[email protected]>
What?
Fixes #59481.
Alternative to #59482.
controller.stop()
seems to merely stop the animation without resetting it to the end position. We can usecontroller.set( { x: 0, y: 0 } )
to make the animation also finish immediately. I didn't see any alternative tostop
to do both in the docs.Why?
How?
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast