When you use fixed-header class in the body the expected outcome is not presented. The menu header stays in place as expected but the branding part of the header scrolls up and down with the page. One would expect the header to stay put but the sidebar to either scroll or stay put with its own scrollbar for the menu. I personally would expect the sidebar as a whole to not move, just the page content should scroll with the header staying fixed to the top of the page.
To Reproduce
- Set
<body class="fixed-header sidebar-expand-lg bg-body-tertiary">
- Save the code above and refresh the page.
- The demo page for the fixed header has enough content to make this reproducible.
Expected behavior
Sidebar and brand should not scroll with the page, it should have its own scrollbar.
Screenshots
Environment (please complete the following information):
- AdminLTE Version: v4 latest RC
- Operating System: Windows 11
- Browser (Version): Edge(latest)
When you use
fixed-headerclass in the body the expected outcome is not presented. The menu header stays in place as expected but the branding part of the header scrolls up and down with the page. One would expect the header to stay put but the sidebar to either scroll or stay put with its own scrollbar for the menu. I personally would expect the sidebar as a whole to not move, just the page content should scroll with the header staying fixed to the top of the page.To Reproduce
<body class="fixed-header sidebar-expand-lg bg-body-tertiary">Expected behavior
Sidebar and brand should not scroll with the page, it should have its own scrollbar.
Screenshots
Environment (please complete the following information):