Skip to content

fix(develop-docs): Fix sidebar not scrolling independently from content#16647

Merged
sfanahata merged 3 commits intomasterfrom
fix/develop-docs-sidebar-scroll
Mar 2, 2026
Merged

fix(develop-docs): Fix sidebar not scrolling independently from content#16647
sfanahata merged 3 commits intomasterfrom
fix/develop-docs-sidebar-scroll

Conversation

@stephanie-anderson
Copy link
Contributor

The develop docs sidebar wrapper div was missing h-full and min-h-0, so
the .toc child couldn't calculate its overflow height within the fixed
sidebar container. This caused the sidebar to stay static while only the
main content scrolled.

Co-Authored-By: Claude noreply@anthropic.com

The develop docs sidebar wrapper div was missing h-full and min-h-0, so
the .toc child couldn't calculate its overflow height within the fixed
sidebar container. This caused the sidebar to stay static while only the
main content scrolled.

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Mar 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
develop-docs Ready Ready Preview, Comment Mar 2, 2026 6:34pm
sentry-docs Ready Ready Preview, Comment Mar 2, 2026 6:34pm

Request Review

stephanie-anderson and others added 2 commits March 2, 2026 19:22
md:flex means the wrapper isn't a flex container below 768px, so
.toc's flex: 1 is ignored on mobile and scrolling stays broken.

Co-Authored-By: Claude <noreply@anthropic.com>
Copy link
Contributor

@sfanahata sfanahata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@sfanahata sfanahata merged commit 7708614 into master Mar 2, 2026
19 checks passed
@sfanahata sfanahata deleted the fix/develop-docs-sidebar-scroll branch March 2, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants