Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Documentation] Left Sidebar Navigation Loses Position When Navigating Between Pages #1103

Open
tonyz0x0 opened this issue Feb 3, 2025 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@tonyz0x0
Copy link

tonyz0x0 commented Feb 3, 2025

Issue Description

When navigating between pages on the AWS Neuron documentation site (https://awsdocs-neuron.readthedocs-hosted.com/), the left sidebar table of contents (TOC) resets to the top position on each page load. This creates a suboptimal user experience, especially when browsing through nested documentation sections.

Current Behavior

  • Upon clicking a link to a new page, the left sidebar TOC scrolls back to the top
  • Users must manually scroll down the sidebar to find their current position in the documentation hierarchy
  • This is particularly disruptive when navigating through deeply nested sections of the documentation
Image

Expected Behavior

  • The left sidebar TOC should maintain its scroll position when navigating between pages
  • The current page's position in the TOC should remain visible without manual scrolling
  • This "sticky" behavior would help users maintain context of where they are in the documentation structure
Image
@aws-satyajith
Copy link

Thanks @tonyz0x0 for filing the issue. We will take a look and get back to you.

@aws-satyajith aws-satyajith added the documentation Improvements or additions to documentation label Feb 4, 2025
@tonyz0x0 tonyz0x0 changed the title [Document] Left Sidebar Navigation Loses Position When Navigating Between Pages [Documentation] Left Sidebar Navigation Loses Position When Navigating Between Pages Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants