Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.41k stars 1.98k forks source link

'Edit template' in Post/Page editor loads template editor with limited height #70668

Closed wiesenhauss closed 1 year ago

wiesenhauss commented 1 year ago

Quick summary

When trying to edit a template while in the post/page editor, the template editor is not loaded with a 100% height, even though the iframe is height: 100%

Screenshot 2022-12-01 at 18 16 38

Video:

https://user-images.githubusercontent.com/99455043/205162942-048ffff5-3128-4dae-bd17-29788a2db5cf.mov

Steps to reproduce

  1. Activate any FSE theme
  2. Create a post or page and edit it
  3. In the Settings panel, go to Post (or Page) > Click on the template name > Click on 'Edit template'
  4. Template iframe is loaded with limited visibility (not 100% height)

What you expected to happen

The template being edited should be displayed with a height=100%

What actually happened

Only part of the template is visible (apparent height ≠ 100%)

Context

Tested on client site, wpcom test site (5757641-zen), and self-hosted site. Doesn't seem to affect self-hosted sites.

Platform (Simple, Atomic, or both?)

Simple, Atomic

Theme-specific issue?

No response

Browser, operating system and other notes

No response

Reproducibility

Consistent

Severity

All

Available workarounds?

Yes, easy to implement

Workaround details

Users can still edit templates in the Site Editor.

github-actions[bot] commented 1 year ago

Support References

This comment is automatically generated. Please do not edit it.

jamiepalatnik commented 1 year ago

Another report in this chat: 38434079-hc

Adding some triage notes as well.

📌 SCRUBBING : RESULT

📌 FINDINGS/SCREENSHOTS/VIDEO

📌 ACTIONS

jordesign commented 1 year ago

Another interaction here: 35989821-hc

It strikes me that this is pretty far reaching, even though we don't have many reports.

jamiepalatnik commented 1 year ago

Closing this issue as a duplicate of https://github.com/Automattic/wp-calypso/issues/70864