-
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
Resize meta box pane without ResizableBox
#66735
base: trunk
Are you sure you want to change the base?
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: -103 B (-0.01%) Total Size: 1.82 MB
ℹ️ View Unchanged
|
Thanks for the "hotfix" PR, @stokesman! As you noted in the issue, landing a general fix for |
Flaky tests detected in 1506d85. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/11678394532
|
I'm all for #65637 moving forward. Yet even if it does, I think this is worth considering because:
|
What?
Makes meta box pane resizing implementation based on
@use-gesture/react
’s drag hook.Why?
Fixes #66436
How?
Privately exports
useDrag
from the components package and uses it for resizing the meta box pane.Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast
This just shows the non-keyboard use and the swipe gesture.
meta-boxes-resize-w-use-gesture.mp4