-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
Summary
While browsing the API Extractor documentation site, I observed that certain navbar options (API, GitHub, and Help) do not visually reflect the active navigation state. After navigating to these sections, the navbar does not highlight or otherwise indicate the currently selected item, making it unclear which section is active.
Repro steps
- Open the API Extractor documentation site : https://api-extractor.com/
- Click on navbar options such as API, GitHub, or Help.
- Observe the navbar state after navigation. They do not displaying blue coloured activation state.
Expected result:
- The currently selected navbar option should be visually highlighted or marked as active.
Actual result:
- The navbar does not show any active state for API, GitHub, or Help options.
Details
This appears to be a UI/navigation state issue where certain navbar links are not included in the active-route detection logic. These links may be external routes or handled differently, so the active class/state is not being applied.
Screenshots
API route displaying docs option active
Github route displaying docs option active
Help route displaying docs option active
A possible fix could involve:
- Ensuring these routes are included in the active route matching logic.
- Applying consistent active state handling for both internal and external navigation items.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels