Layout builder off-canvas positioning problem when resizing browser

Created on 10 May 2023, over 1 year ago
Updated 29 May 2024, 7 months ago

Problem/Motivation

When adding/editing a block in layout builder, if you resize the browser then the off-canvas sidebar doesn't re-position itself correctly.

Steps to reproduce

  1. use Drupal 10.0.9, or 9.5.9
  2. enable layout builder and turn it on for a content type
  3. create a page using the layout builder content type
  4. edit the layout for the page
  5. click "Add section"
  6. resize the right side of browser

Expected behaviour

The layout builder sidebar should move with the right side of the browser.

Actual behaviour

Sidebar stays in one place, or jumps around.

I think it has something to do with this change: https://git.drupalcode.org/project/drupal/-/commit/e2d11b5fff7ba50dbb18f...

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component
Javascript 

Last updated 3 days ago

Created by

🇨🇦Canada bwaindwain

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024