discourse/app/assets/javascripts/admin/addon/services
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
..
admin-badges.js DEV: Add Settings tab to admin Badges page (#32251) 2025-04-21 09:41:29 +08:00
admin-emojis.js DEV: Move admin config pages out of /customize/ sub-route (#30511) 2025-01-02 09:13:11 +10:00
admin-plugin-nav-manager.js FIX: remove admin_sidebar_enabled_groups setting (#31693) 2025-03-11 11:41:38 +11:00
admin-search-data-source.js UX: simplify admin search, make more accessible (#32733) 2025-05-15 16:31:03 +10:00
admin-sidebar-state-manager.js FIX: check if sidebar hidden and remove scrollLock when hiding hamburger menu (#32775) 2025-05-16 15:30:24 -04:00
admin-tools.js FEATURE: Sync Reviewable Status (#31901) 2025-03-24 14:27:18 +11:00
admin-user-fields.js DEV: Modernize admin user fields (#29843) 2024-11-25 11:54:43 +08:00
site-setting-change-tracker.js FIX: bugs with refresh page after save fonts (#32282) 2025-04-15 12:02:28 +08:00