Mobile version of Navigation menu doesn't properly reset Drupal.displace() on closing

Created on 25 April 2024, 7 months ago
Updated 19 June 2024, 6 months ago

When in mobile mode, when the side navigation closes, it does not properly reset Drupal.displace() (which is an API that informs if a component is fixed to a side of the window).

You can see this by watching the dynamically generated CSS variables on the HTML tag.

Proposed resolution

Set width of `admin-toolbar__displace-placeholder` only for desktop. On mobile we don't need that displace.

🐛 Bug report
Status

Fixed

Version

10.3

Component
Navigation 

Last updated about 7 hours ago

No maintainer
Created by

🇺🇸United States mherchel Gainesville, FL, US

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024