discourse/app/assets/javascripts/admin/addon
Kris c293fe02c3
FIX: check if sidebar hidden and remove scrollLock when hiding hamburger menu (#32775)
Reported here:
https://meta.discourse.org/t/dashboard-freezes-until-sidebar-is-opened/366402

This is a follow-up to
https://github.com/discourse/discourse/pull/32651, when navigating from
the homepage to admin the hamburger gets force-hidden because we switch
from the dropdown to the sidebar nav but the scrollLock was
unintentionally left behind.

This makes sure we're only messing with hamburger state when the sidebar
is hidden (with ` {{hideApplicationSidebar}}`) and also removes the
scroll lock when the hamburger is force-hidden.
2025-05-16 15:30:24 -04:00
..
adapters PERF: Improve performance of the new themes listing page (#32641) 2025-05-08 19:18:07 +03:00
components DEV: standardise toasts duration (#32741) 2025-05-15 14:59:37 +02:00
controllers DEV: standardise toasts duration (#32741) 2025-05-15 14:59:37 +02:00
helpers DEV: Drop legacy topic-list and raw-handlebars compilation system (#32081) 2025-04-14 10:42:40 +01:00
lib DEV: Improve site setting search ranking (#32461) 2025-04-28 16:58:27 +08:00
mixins FEATURE: porting type object to site settings (#32706) 2025-05-13 14:30:24 -03:00
models DEV: revert admin users list change (#32723) 2025-05-15 09:48:01 +02:00
routes UX: split admin logo and fonts to separate pages (#32700) 2025-05-14 14:02:34 +08:00
services FIX: check if sidebar hidden and remove scrollLock when hiding hamburger menu (#32775) 2025-05-16 15:30:24 -04:00
templates UX: split admin logo and fonts to separate pages (#32700) 2025-05-14 14:02:34 +08:00