Skip to content

fix(vidstack): ignore scroll movement for touch gestures - #1819

Merged
mihar-22 merged 1 commit into
mainfrom
codex/1713-mobile-scroll-gesture
May 26, 2026
Merged

fix(vidstack): ignore scroll movement for touch gestures#1819
mihar-22 merged 1 commit into
mainfrom
codex/1713-mobile-scroll-gesture

Conversation

@mihar-22

Copy link
Copy Markdown
Member

Summary

  • record the starting touch point for coarse pointerup gestures
  • ignore touchend gesture triggers when the touch moves beyond a small scroll threshold
  • keep existing pointerup/dblpointerup gesture markup working for Plyr and default layouts

Fixes #1713.

Validation

  • pnpm --filter vidstack typecheck

No focused gesture test exists in this package; this change was validated by typecheck and scoped code review.

@mihar-22
mihar-22 marked this pull request as ready for review May 26, 2026 06:56
@mihar-22
mihar-22 merged commit 2744171 into main May 26, 2026
1 check passed
@mihar-22
mihar-22 deleted the codex/1713-mobile-scroll-gesture branch May 26, 2026 06:56
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.

Plyr's clickToPlay is triggered when scrolling on mobile

1 participant