Needs work
Project:
Toolbar
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Mar 2018 at 05:26 UTC
Updated:
21 Sep 2026 at 06:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
daniel korteComment #3
daniel korteThe attached patch adds an event in order to only trigger the
updateToolbarHeight()function when a new.toolbar-menuis loaded by BigPipe.Comment #4
daniel korteI noticed
.toolbar-menuis not always wrapped in a div element. Updated for both scenarios.Comment #5
chi commentedComment #6
borisson_I think we can close this issue as a duplicate of the issue linked in #5.
Comment #8
ndf commentedFirst a re-roll of #4.
I manually test this patch with 8.7.x, but I cannot see a difference.
Vaguely I do remember I noticed the behaviour from #2 in earlier Drupal Core versions.
But currently this behaviour is not there anymore.
This issue is not a duplicate of #2951268: Improve rendering account link in the toolbar. That issue has to do with the height of the icons in the toolbar while rendering.
This issue is about pushing the content-area down, when the optional part of the toolbar is expended horizontally.
Put this on closed (outdated) now.
Daniel Korte please re-open if I missed something here!
Comment #9
ndf commentedTo be extra clear:
This issue is about pushing the content-area down, when the optional part of the toolbar is expended horizontally.
The bug from #2 does not exist anymore. So the content-area will not stay behind the toolbar and will be pushed down or up when opening/closing the toolbar.
But pushing the content-area down happens after the initial page render. That is issue #2998451: Toolbar tray rendering can result "flickering" resizing of content area to accommodate open trays
Comment #10
daniel korteI am still seeing this issue in 8.7.7 and the latest patch still fixes it for me.
To reproduce the issue BigPipe must be enabled. After that, this issue only presents itself when the User menu item is selected and the horizontal tray is open. Refreshing the page with the User menu item selected and horizontal tray should obscure the page content. See screenshot:
Comment #12
jamesashok commentedIssue is related to Issue #3021147.
The following patch is being updated on both issues.
The issue arises because the Toolbar height is being calculated before its contents are rendered on the initial load at ToolbarVisualView.js; so, the patch makes the height calculation asynchronous, by deferring it and pushing it to queue. So, once the contents are rendered, the height of the toolbar will be calculated.
Tested across all major browsers and OS simulations and adding a couple of screenshots..
Before Patch
After Patch
toolbar_initial_height-2952447-12.patch
Comment #13
avpadernoComment #14
avpadernoComment #15
jamesashok commentedComment #20
catchRan across this and found this existing issue. The same bug is there on 9.3 as descriped, patch doesn't apply any more though.
Comment #21
ravi.shankar commentedAdded reroll of patch #12.
Comment #22
yogeshmpawarComment #25
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #27
manuel.adanDuplicate of #3021147: Toolbar overlap content with big pipe enabled ?
Comment #29
quietone commentedThe Toolbar Module was approved for removal in #3476882: [Policy] Move Toolbar module to contrib.
This is Postponed. The status is set according to two policies. The Remove a core extension and move it to a contributed project and the Extensions approved for removal policies.
The deprecation work is in #3484850: [meta] Tasks to deprecate Toolbar module and the removal work in #3488828: [meta] Tasks to remove Toolbar module.
Toolbar will be moved to a contributed project before Drupal 12.0.0 is released.
Comment #30
quietone commentedThe Toolbar module have moved from core to contrib.