Skip to content

fix: pin the sidebar only when necessary#968

Draft
thasmo wants to merge 1 commit intonpmx-dev:mainfrom
thasmo:sidebar-scrolling-pin
Draft

fix: pin the sidebar only when necessary#968
thasmo wants to merge 1 commit intonpmx-dev:mainfrom
thasmo:sidebar-scrolling-pin

Conversation

@thasmo
Copy link
Contributor

@thasmo thasmo commented Feb 4, 2026

This makes the sidebar scrollable with the document, but it pins it when needed.

Currently, it only works when scrolling down/up completely. When changing scrolling direction when the sidebar is overlapping the viewport top and bottom, it jumps visually.

@vercel
Copy link

vercel bot commented Feb 4, 2026

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

Project Deployment Actions Updated (UTC)
npmx.dev Ready Ready Preview, Comment Feb 4, 2026 9:57pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs.npmx.dev Ignored Ignored Preview Feb 4, 2026 9:57pm
npmx-lunaria Ignored Ignored Feb 4, 2026 9:57pm

Request Review

@codecov
Copy link

codecov bot commented Feb 4, 2026

Codecov Report

❌ Patch coverage is 5.55556% with 17 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
app/pages/package/[...package].vue 5.55% 12 Missing and 5 partials ⚠️

📢 Thoughts on this report? Let us know!

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.

1 participant