Skip to content

Conversation

slax57
Copy link
Contributor

@slax57 slax57 commented Sep 25, 2025

Problem

  • Sidebar smooth scroll on first load is disturbing
  • Sidebar scroll is happening even when the selected item is already into view

Solution

  • disable scroll animation
  • only scroll if element is not already into view

How To Test

make doc-headless

  1. Access a page for the first time on a lower item (e.g. ListBase)
  2. Navigate to another page using the sidebar menu
  3. Navigate to another page using a link from within the doc content: e.g. navigate from <Resource recordRepresentation> to <RecordRepresentation>

Additional Checks

  • The PR targets master for a bugfix or a documentation fix, or next for a feature
  • The documentation is up to date

Also, please make sure to read the contributing guidelines.

@slax57 slax57 added the RFR Ready For Review label Sep 25, 2025
@slax57 slax57 changed the title [no ci] [chore] [Doc] Improve sidebar scrolling on headless docs [chore] [Doc] Improve sidebar scrolling on headless docs Sep 25, 2025
@djhi djhi added this to the 5.11.4 milestone Sep 25, 2025
@djhi djhi changed the title [chore] [Doc] Improve sidebar scrolling on headless docs [Doc] Improve sidebar scrolling on headless docs Sep 25, 2025
@djhi djhi merged commit da67192 into master Sep 25, 2025
2 checks passed
@djhi djhi deleted the doc-headless-improve-sidebar-scroll branch September 25, 2025 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Development

Successfully merging this pull request may close these issues.

2 participants