Skip to content

Administration: clicking a menu item scrolls the page to the top, losing the place in the admin menu #2108

Open

Description

@JoelAtRealProIT

Current Behavior

On the Administration page, each item in the left-hand menu (e.g. Access Management → Teams, then Permissions) is its own route under /admin/.... Clicking an item scrolls the whole page back to the top. The menu column scrolls with the page, so on a long admin page you lose where you were in the menu after every click.

This comes from the router's scrollBehavior, which returns { y: 0 } for every navigation in 5.2.1 (src/router/index.js). On main, #2010 restores the position on back-navigation, and navigation within /dependencyGraph is exempt, but going forward between admin items still scrolls to the top.

Steps to Reproduce

  1. Log in as an administrator and open Administration.
  2. Expand Access Management and scroll down far enough that the top of the page is out of view (a short browser window makes this easy).
  3. Click Teams, then Permissions.
  4. The page jumps to the top on each click, and the menu position is lost.

Expected Behavior

The admin menu stays where it is when you switch between admin items. Two possible fixes:

  • skip the scroll when both routes are under /admin, the same way /dependencyGraph is already exempt in scrollBehavior;
  • make the admin menu column sticky or scroll on its own, so it stays visible however long the page is.

Dependency-Track Frontend Version

5.x

Browser

Microsoft Edge

Browser Version

157.0.4341.46 (Official build) (64-bit)

Operating System

Windows

Checklist

Activity

  1. added
    defect
    on Nov 16, 2026
  2. added
    size/S
    and removed on Nov 18, 2026
  3. added this to the 5.x milestone on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    defectsize/S

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions