You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The left [sticky] navbar shouldn't move at all when a toctree navbar element is clicked for a smooth nav UX.
(OR, at with an option to turn this off, anchor jump top the top-level parent category; not to individual children)
Actual Result
Navigating to new pages "jolts" the navbar, scrolling down to align with whatever child navbar toctree element was clicked. This creates a frustrating UX experience. See this low-quality GIF (apologies, the mp4 was too big in size):
Thoughts
What I believe is happening is that click jumps to the body's selected header -- intended and good. However, if it's a sticky navbar, the navbar is separately jumping to its own anchor (not intended -- or if intended, it should be optional and default off since it looks glitchy)
TL;DR Only the body should be anchored on click; not the navbar itself in addition.
The text was updated successfully, but these errors were encountered:
dylanh724
changed the title
Theme navbar jolts to nav anchor on click
Sticky navbar jolts to nav anchor on click
Aug 8, 2024
Details
Expected Result
The left [sticky] navbar shouldn't move at all when a toctree navbar element is clicked for a smooth nav UX.
(OR, at with an option to turn this off, anchor jump top the top-level parent category; not to individual children)
Actual Result
Navigating to new pages "jolts" the navbar, scrolling down to align with whatever child navbar toctree element was clicked. This creates a frustrating UX experience. See this low-quality GIF (apologies, the mp4 was too big in size):
Thoughts
What I believe is happening is that click jumps to the body's selected header -- intended and good. However, if it's a sticky navbar, the navbar is separately jumping to its own anchor (not intended -- or if intended, it should be optional and default off since it looks glitchy)
TL;DR Only the body should be anchored on click; not the navbar itself in addition.
The text was updated successfully, but these errors were encountered: