Problem/Motivation
Tested in Bartik.
When a node is being previewed with javascript disabled, the bar containing the "Back to content editing" button is not visible.
Steps to reproduce
Proposed resolution
See #16
Remaining tasks
Patch
Review
Add screenshots
User interface changes
Before with javascript

Before without javascript

After with javascript
TBA
After without javascript
TBA
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #29 | Screenshot 2023-09-05 at 8.19.50 AM.png | 266.82 KB | gauravvvv |
| javascript-enabled.png | 104.94 KB | strykaizer | |
| javascript-disabled.png | 47.06 KB | strykaizer |
Comments
Comment #2
strykaizerComment #3
joelpittetComment #4
droplet commentedNeeds advice from toolbar maintainers.
I believe it's also bring some benefit to #2542050: Toolbar implementation creates super annoying re-rendering.
Comment #12
nod_Still an issue
Comment #13
nod_Comment #14
pradeepjha commentedDynamic padding top is added to Body tag through JS code https://git.drupalcode.org/project/drupal/-/blob/9.1.x/core/modules/tool.... When we collapse Manage button, padding-top value get changed.
So when we disable JS, toolbar menu gets hidden inside main admin menu. Because there is no padding-top or any top value applied to show it after admin menu. That's why it's not visible. Check attached screenshot.
Comment #15
poojakural commentedComment #16
droplet commentedIt's pretty easy to fix.
https://git.drupalcode.org/project/drupal/-/blob/9.0.x/core/modules/node...
adding Weight to force the elements rendered after
#toolbar-administrationFurthermore,
I think
#toolbar-administrationshould be set Weight to something like -99999999999 which is always on the top.Comment #17
poojakural commentedComment #18
poojakural commentedComment #23
quietone commentedUnassigning because this hasn't been worked on in 2years.
Comment #24
quietone commentedCame back to test. This is still true on Drupal 9.5.x, standard install. Updated the IS.
Comment #27
yash.rode commentedBartik is removed from core so, is it still a core issue?
Comment #28
smustgrave commentedWill need an issue summary update but did just verify with claro that this issue is still there.
Comment #29
gauravvvv commentedI tried reproducing the issue with Umami and Olivero theme in Drupal 11. "Back to content editing" is visible to me, but toolbar is overlapping it. Attached screenshot for same.
Comment #31
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.