Skip to content

Fix Bottom Sheet scroll ownership - #9

Merged
Cylop merged 1 commit into
mainfrom
fix/bottom-sheet-touch-scroll
Sep 5, 2026
Merged

Fix Bottom Sheet scroll ownership#9
Cylop merged 1 commit into
mainfrom
fix/bottom-sheet-touch-scroll

Conversation

@Cylop

@Cylop Cylop commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • make the Pull to Refresh root the Bottom Sheet demo's actual scroll surface
  • preserve the native upward pan direction at the top boundary
  • add direct links to React Swipe Actions and React Spring Bottom Sheet in section 03
  • document the correct integration structure
  • add browser regression coverage for overflow geometry, touch-action, and real scroll movement

Root cause

The demo nested a default PTR root inside a separate scroll parent. The root's mechanical overflow and overscroll containment prevented scroll chaining to that parent. Bottom Sheet's scroll-owner detection was functioning correctly. Separately, PTR advertised the wrong directional touch-action at the top boundary.

Verification

  • npm run check
  • Chromium and Firefox integration suites
  • focused Bottom Sheet scroll regression in Chromium and Firefox

@vercel

vercel Bot commented Sep 5, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
react-pull-to-refresh Ready Ready Preview Sep 5, 2026 1:37pm UTC

@Cylop
Cylop merged commit fb80b3e into main Sep 5, 2026
4 checks passed
@Cylop
Cylop deleted the fix/bottom-sheet-touch-scroll branch September 5, 2026 13:39
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