AdminLTE
AdminLTE copied to clipboard
[BUG] Sidebar collapse issue on Safari
Describe the bug
When set body class to layout-fixed layout-navbar-fixed and press pushmenu, the brand-link will stay on the top, and then disappear in sidebar.
To Reproduce Steps to reproduce the behavior:
- Set body class to
layout-fixed layout-navbar-fixed
<body class="layout-fixed layout-navbar-fixed">
...
</body>
-
Press
pushmenu
-
See bug Collapse
Open

Expected behavior
Just like normal sidebar, show brand-link when open the sidebar, and hide brand-link when collapse sidebar
Environment:
- AdminLTE Version: v3.2.0
- Operating System: macOS Ventura 13.6
- Browser (Version): Safari 17.0 (18616.1.27.111.22, 18616)
Additional context
I just download the source code and open index3.html in Safari.
Hotifx for this known issue just at safari/apple/webkit = recalculate fixed position:
- add into class "hint" just for the safari - apple (to the upper container, not at brand-link),
.main-sidebar { will-change: transform; }
- maybe it doesnt affect other systems/browsers(not tested)