-
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
Grid Layout interactivity issues with resizer box #61633
Comments
Ok so I think there are three separate issues here:
|
Thanks for breaking them out 👍 |
In my local testing, moving the event listener to Another issue I noticed in non-iframed is the top and bottom bounds aren't corrent, I think because contentRef is always null, so it's using the fallback height difference, which of course doesn't apply if the editor isn't iframed. I think that was why I originally added the ref to a dummy element instead of passing it to the resizer; might be better to bring that back. |
Description
Part of #57478
This issue captures a couple of the issues I encountered while testing the grid interactivity experiment in
trunk
. With the Grid Interactivity experiment activated, I noticed the following issues:Step-by-step reproduction instructions
Using the following grid markup:
Grid markup
Test the following:
Screenshots, screen recording, code snippet
Screengrab of incorrect dimensions and limits of the resizer in the post editor while iframed:
2024-05-13.16.22.32.mp4
Screengrab of editor freezing in the post editor while not iframed:
2024-05-14.09.04.40.mp4
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: