Skip to content
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

When changing style variations in the right sidebar, the preview changes abnormally vertically #52092

Closed
Olein-jp opened this issue Jun 29, 2023 · 6 comments
Labels
[Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced [Type] Bug An existing feature does not function as intended

Comments

@Olein-jp
Copy link
Contributor

Description

Access the site editor in WordPress 6.3 Beta 2.

The live preview works fine after changing the style variations that can be selected in the left sidebar.

However, when changing the style in the style variation accessible from the right sidebar (the old one), we observed a behavior where the preview screen keeps growing more vertically than it should.

Step-by-step reproduction instructions

  1. Access site editor in Appearance
  2. No problem changing style variation on left panel(sidebar)
  3. Then access style variation on right sidebar and change another style variation
  4. Keep growing more vertically on preview

Screenshots, screen recording, code snippet

2023-06-29.9.34.15.mov

Environment info

  • WordPress 6.3 Beta 2 on LocalWP
  • No plugin activated without WordPress Beta Tester

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

@megane9988
Copy link
Contributor

Yes, I also hit the same issue.

default.mov

But it did not happen Twenty Twenty-Two Theme.

@inc2734
Copy link
Contributor

inc2734 commented Jun 29, 2023

The pattern inserter also confirmed that some pattern previews are extended. WordPress 6.3 beta2 + TT3

Kapture.2023-06-29.at.12.04.35.mp4

@megane9988
Copy link
Contributor

megane9988 commented Jun 29, 2023

This issue looks similar to #49120.

@ndiego
Copy link
Member

ndiego commented Jun 29, 2023

I believe this is due to certain patterns that have the height of blocks set to 100vh or 100%. If so, this issue has existed for a while.

@ndiego ndiego added [Type] Bug An existing feature does not function as intended [Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced labels Jun 29, 2023
@megane9988
Copy link
Contributor

megane9988 commented Jun 29, 2023

It seems related to

#50449 and #38181

@annezazu
Copy link
Contributor

Going to close this out as this issue is covered in the issues linked above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

5 participants