-
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
Spacing visualizers not displaying accurately when adjusting margin/padding using spacing steps #44335
Comments
@jasmussen and @glendaviesnz sorry for the ping, but I know you both have been working on step spacing and wanted to make sure you saw this. 🙏 |
I have noticed a little bit of lag, and some height calculation issues. And from your visual here, it looks like margin goes inwards instead of outwards. |
I'm not sure about the calculation, as I haven't looked at that part of the code. When I tested Kapture.2022-09-27.at.12.55.04.mp4This time in both the post and site editor. edit: found a fix for this - #44484. AFAIK, it's only a gutenberg plugin bug, so not something that needs to be backported. |
I've put together a fix in #44485, though I'm not seeing the exact same issues as in the screen cap. |
Have merged that PR now which closed this, but let me know if there are any other issues you spot in testing. |
Description
In testing the Twenty Twenty-Three theme, I noticed that the margin and padding visualizers appear incorrectly or quite glitchy when adjusting spacing using the new spacing step functionality. Switching to manual sliders greatly improves the visualizers.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
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: