Description
On admin pages, the local admin navigation participates in the document's main scroll flow. Its content expands the whole page vertically, which creates an unnecessary page-level scrollbar. When the page is scrolled, the admin navigation moves together with the channels table and the rest of the content.
This makes the page difficult to use because both the page controls and the top of the admin navigation disappear from the viewport.
Steps to reproduce
- Open
/admin/channels on a desktop viewport.
- Expand the main application sidebar.
- Observe the vertical scrollbar on the whole document.
- Scroll the page down.
Actual behavior
- The document becomes much taller than the viewport because of the admin navigation.
- The admin navigation and the channel content share the same scroll container.
- Scrolling the page moves both the local navigation and the table out of the viewport.
- The issue occurs with both the expanded and collapsed main application sidebar.
Expected behavior
- The application shell should fit within the viewport without an unnecessary document-level scrollbar.
- The admin navigation should remain within the viewport.
- If the navigation items do not fit, the admin navigation should have its own internal vertical scrolling.
- The page content/table should scroll independently from the local navigation.
- Expanding the main application sidebar should affect only the available horizontal space.
Reproduction environment
- Local development build
- Route:
/admin/channels
- Desktop viewport:
1512 × 844
Technical observations
window.innerHeight: 844 px
document.documentElement.scrollHeight: 1850 px
- Admin sidebar height: approximately
1783 px
- Admin sidebar styles include
position: static and overflow-y: visible
- At
window.scrollY = 720, both the sidebar and table are shifted outside the viewport.
Acceptance criteria
- No document-level vertical scrollbar is introduced by the admin navigation.
- The admin navigation scrolls independently when its content exceeds the viewport.
- Scrolling the channels content does not move the local admin navigation.
- The behavior works with both expanded and collapsed main application sidebar.
- The fix is verified at common desktop viewport sizes.
Screenshots
Before scrolling — page-level scrollbar is visible:
After scrolling — the table is outside the viewport and the local admin navigation has moved with it:
P.S. Although the issue is demonstrated on /admin/channels, it is not specific to the admin area. This appears to be a global application layout and scrolling problem. The admin page is used here only as a clear reproducible example; the fix should be implemented at the shared application shell/layout level and verified across other sections of the application.
Description
On admin pages, the local admin navigation participates in the document's main scroll flow. Its content expands the whole page vertically, which creates an unnecessary page-level scrollbar. When the page is scrolled, the admin navigation moves together with the channels table and the rest of the content.
This makes the page difficult to use because both the page controls and the top of the admin navigation disappear from the viewport.
Steps to reproduce
/admin/channelson a desktop viewport.Actual behavior
Expected behavior
Reproduction environment
/admin/channels1512 × 844Technical observations
window.innerHeight:844 pxdocument.documentElement.scrollHeight:1850 px1783 pxposition: staticandoverflow-y: visiblewindow.scrollY = 720, both the sidebar and table are shifted outside the viewport.Acceptance criteria
Screenshots
Before scrolling — page-level scrollbar is visible:
After scrolling — the table is outside the viewport and the local admin navigation has moved with it:
P.S. Although the issue is demonstrated on
/admin/channels, it is not specific to the admin area. This appears to be a global application layout and scrolling problem. The admin page is used here only as a clear reproducible example; the fix should be implemented at the shared application shell/layout level and verified across other sections of the application.