Make WordPress Core

#60031 closed defect (bug) (reported-upstream)

Cover block min. height if set to a vh value, expands vertically perpetually when viewed zoomed-out in Site editor through Styles > browse styles

Reported by: videotutorgr's profile videotutorgr Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.4.2
Component: Editor Keywords:
Focuses: Cc:

Description

Encountered with any cover block used in template,post or page.
Can be reprodused with the 2024 theme and the "Portfolio project overview" pattern in a template or page.
Occurs when any cover block's min. height is set to a vh value in the Site editor settings, and I select the Styles sidebar and from there "Browse styles" to view the theme's style presets - when the template or page "zooms out" to preview style changes, the cover block's height expands vertically perpetually making the preview hard or even impossible (if 100 vh is entered as min. height).

I have recorded a short video with the issue here:
https://tinyurl.com/52hefp27

Sorry if it is already reported and I wasn't able to locate it, and for maybe having misscategorized this report... new to the process here.

Change History (1)

#1 @isabel_brison
10 months ago

  • Component changed from Customize to Editor
  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

Thanks for reporting this @videotutorgr! As it is a block editor-related issue, the best place for it is the Gutenberg repo. Looks like there is already an issue https://github.com/WordPress/gutenberg/issues/50449 that covers the buggy behaviour of blocks with min height set in vh units.

So I'm going to go ahead and close this ticket, but I'll link to it in the above Gutenberg issue. Also do feel free to add a comment to that issue if you have anything further to add!

Note: See TracTickets for help on using tickets.