Prevents Layout Builder drag from knowing where the edge of the screen is

Created on 24 February 2020, almost 5 years ago
Updated 24 January 2024, 11 months ago

Issue description:

When Toolbar module and Layout Builder are being used, while Dragging & Dropping with a block, I'm unable to scroll/drag UP when moving blocks on a page that’s taller than the browser window. It seems I can scroll/drag down just fine.

Attempting to drag upwards does not move the page upward for block placement, which is expected.

Hypothesized cause: The presence of the toolbar makes the top of the browser window ambiguous.

Copied from Drupal #Layouts Slack channel:

timplunkett (he/him):plunkett: 15 minutes ago

diff --git a/core/modules/toolbar/css/toolbar.module.css b/core/modules/toolbar/css/toolbar.module.css
index 4f871ba89f..54e62a0a26 100644
--- a/core/modules/toolbar/css/toolbar.module.css
+++ b/core/modules/toolbar/css/toolbar.module.css
@@ -15,6 +15,7 @@
   vertical-align: baseline;
   font-size: small;
   line-height: 1;
+  pointer-events: none;
 }
 @media print {
diff --git a/core/themes/stable/css/toolbar/toolbar.module.css b/core/themes/stable/css/toolbar/toolbar.module.css
index 4f871ba89f..54e62a0a26 100644
--- a/core/themes/stable/css/toolbar/toolbar.module.css
+++ b/core/themes/stable/css/toolbar/toolbar.module.css
@@ -15,6 +15,7 @@
   vertical-align: baseline;
   font-size: small;
   line-height: 1;
+  pointer-events: none;
 }
 @media print {

timplunkett (he/him):plunkett: 15 minutes ago

πŸ› Bug report
Status

Closed: cannot reproduce

Version

11.0 πŸ”₯

Component
ToolbarΒ  β†’

Last updated about 1 month ago

  • Maintained by
  • πŸ‡«πŸ‡·France @nod_
Created by

πŸ‡ΊπŸ‡ΈUnited States texas_tater Austin, TX

Live updates comments and jobs are added and updated live.
  • Blocks-Layouts

    Blocks and Layouts Initiative. See the #2811175 Add layouts to Drupal issue.

Sign in to follow issues

Comments & Activities

Not all content is available!

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

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    This issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request β†’ as a guide.

    Tried testing this on Drupal10 with a standard install and could not replicate
    Could someone verify if they are still seeing the issue please and if so provide additional steps.

    Also if still an issue think this will need tests but have to admit 0 idea how to go about testing that.

  • Status changed to Closed: cannot reproduce 11 months ago
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Since there hasn't been a follow up going to close out for now.

    If reproducible in D11 please reopen, maybe update issue summary with additional steps.

Production build 0.71.5 2024