Off-canvas not resizing Layout Builder edit viewport

Created on 29 October 2024, 6 months ago

Problem/Motivation

Unlike the demo video, as well as the core Layout Builder behavior, the editing viewport does not resize when the off-canvas comes into view. Rather, it covers the content.

Steps to reproduce

Open any off-canvas edit pane in a Layout Builder enabled layout.

Remaining tasks

Discover root cause of issue
Apply a fix

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States FrankieD3

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @FrankieD3
  • πŸ‡ΊπŸ‡ΈUnited States FrankieD3

    This is perhaps also an issue of the project page's representation of the module no longer representing its current state. Both the region and content preview buttons are now nested beneath display options, which is not the case in the screenshot nor the video.

  • πŸ‡«πŸ‡·France erwandsn

    Up, i'm facing the same issue

  • πŸ‡©πŸ‡ͺGermany Christian.wiedemann

    We should add a option to handle this. Often it is better to overlap but of course there are cases which resize is better.

  • πŸ‡«πŸ‡·France erwandsn

    Their is a but when the Layout Builder edit viewport is not resize. We have some full screen width block in the website i work for. And the contextual link is display behind the sidebar in this case. So contributor is no longer able to contribute on it.

  • πŸ‡©πŸ‡ͺGermany Christian.wiedemann

    I am not sure if I understand the problem. The right edit sidebar overlap the content. This is actually the current behavior for very long time. We did that because resizing the content leads to jumps and the editor loses the scope. But I am open to add a configuration where we can configure this behavior.

Production build 0.71.5 2024