Skip to content

fix: Enable overscroll containment for Sidebar and TocPanel components#147

Merged
k1LoW merged 1 commit intok1LoW:mainfrom
orangekame3:fix/over-scroll-toc-sidepanel
Mar 27, 2026
Merged

fix: Enable overscroll containment for Sidebar and TocPanel components#147
k1LoW merged 1 commit intok1LoW:mainfrom
orangekame3:fix/over-scroll-toc-sidepanel

Conversation

@orangekame3
Copy link
Copy Markdown
Contributor

@orangekame3 orangekame3 commented Mar 27, 2026

Hi, @k1LoW! Thanks for maintaining this project.

Summary

  • Fix scroll chaining where scrolling past the end of the sidebar or ToC panel propagates to the parent, causing the entire page to scroll
  • Add overscroll-behavior: contain to both scroll containers to prevent scroll propagation

Related

#133 (same fix applied to the content area)

Changes

  • Sidebar.tsx — add overscroll-contain to the sidebar
  • TocPanel.tsx — add overscroll-contain to the ToC panel

Before

CleanShot 2026-03-27 at 14 36 43

After

CleanShot 2026-03-27 at 14 35 49

@orangekame3 orangekame3 changed the title feat: Enable overscroll containment for Sidebar and TocPanel components fix: Enable overscroll containment for Sidebar and TocPanel components Mar 27, 2026
@k1LoW k1LoW added the bug Something isn't working label Mar 27, 2026
@k1LoW
Copy link
Copy Markdown
Owner

k1LoW commented Mar 27, 2026

@orangekame3 Thank you!!

@k1LoW k1LoW merged commit 86f7bc3 into k1LoW:main Mar 27, 2026
3 checks passed
@github-actions github-actions bot mentioned this pull request Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants