- Issue created by @jabeler
- šØšSwitzerland dalanz
I'm facing the same behavior. This seems to be related to the changes in Drupal 10.1 assets aggregation. If you turn off the CSS Aggregation (/admin/config/development/performance), the admin toolbar loads normally.
- šŗšøUnited States kevinfunk
Turning off CSS Aggregation doesn't fix the issue for me. I also see the issue using Claro with Admin Toolbar using Drupal 10.1.
- šŗšøUnited States socalerich
Also happening for me after 10.1.1. What's weird is it was happening for me locally and then somehow stopped, but I don't know what I did to make it stop. When I moved the code to the dev server, it started happening on dev and it wont go away even after clearing cache, turning off aggregation, etc.
- šŗšøUnited States socalerich
OK, I just figured out what I did to remedy this at least for me. I went to the server in question and went to Appearance > Settings > Gin and under "Navigation (Drupal Toolbar)", I switched the setting to "Legacy, Classic Drupal Toolbar" and saved it but then switched it right back to "Horizontal, Modern Toolbar" after saving and for some reason that got rid of the problem.
- š®š³India vaibhav_arora
I am not able to reproduce this same issue on my local, I tried it with Drupal 10.1.2, gin admin theme, and gin toolbar but it is working fine as the admin toolbar is showing in collapsed only also I have attached the below screenshot and video for reference.
Please guide as if I am missing any steps to reproduce this issue. - š®š³India vaibhav_arora
@SoCalErich I tried the same with updating Drupal from 10.0.10 to 10.1.1 but still not able to reproduce it, I have attached a video too for the reference.
- First commit to issue fork.
- @bnjmnm opened merge request.
- Status changed to Needs review
over 1 year ago 8:54pm 11 July 2023 - šŗšøUnited States bnjmnm Ann Arbor, MI
Drupal 10.1 changed it so horizontal menus are visible on load so the correct space is allocated on initial render and prevents a reflow. Looks like this can be an issue on a toolbar that exposes more of the menu. I was able to consistently reproduce the issue (put a
debugger;
at the beginning ofDrupal.behaviors.toolbar
in core's toolbar.js to see it happening for more than a blip). The MR fixes it. -
saschaeggi ā
committed 4e1c51cd on 8.x-3.x authored by
bnjmnm ā
Issue #3373019: Admin toolbar loads fully expanded
-
saschaeggi ā
committed 4e1c51cd on 8.x-3.x authored by
bnjmnm ā
- Status changed to Fixed
over 1 year ago 1:41pm 14 July 2023 Automatically closed - issue fixed for 2 weeks with no activity.