Skip to content

Click on the active sidebar item gives no response #134

Description

@nibzard

Summary

The sidebar renders each page as a link. When the user clicks the link for the page they are already on, nothing changes on screen. Analytics records a dead click.

Details

  • components/layouts/docs.tsx:408-429: SidebarItem renders a Link to item.url for the active page too.
  • The fumadocs-core Link makes a same-URL navigation. The router gives no visible change: no route change, no scroll.
  • Microsoft Clarity counts a click with no response as a dead click.

Evidence

A session on 2026-09-17 shows repeated visits to /overview/authentication within 13 minutes. This pattern matches clicks on the active item or section header:
https://clarity.microsoft.com/player/t1dtcswrhy/182d7p1/1ylmxzs

Suggested fix

When the user clicks the active sidebar item, scroll to the top of the page. Give some visible response for same-URL navigation.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions