Skip to content

Fix snapped thumb sync after tap gestures#110

Open
shmkane wants to merge 1 commit into
alantoa:mainfrom
shmkane:fix-tap-scrubbing-before-complete
Open

Fix snapped thumb sync after tap gestures#110
shmkane wants to merge 1 commit into
alantoa:mainfrom
shmkane:fix-tap-scrubbing-before-complete

Conversation

@shmkane

@shmkane shmkane commented May 27, 2026

Copy link
Copy Markdown

Fixes the tap path for snapped sliders by matching the pan completion ordering.

When forceSnapToStep is enabled, a track tap can leave internal scrubbing state active while onSlidingComplete notifies JS. If the app then updates progress externally, the track/value can update while the snapped thumb remains at the tapped index.

This clears isScrubbingInner and external isScrubbing before onSlidingComplete, and keeps onFinalize cleanup for cancelled/failed taps.

Related: #94

@vercel

vercel Bot commented May 27, 2026

Copy link
Copy Markdown
Contributor

@shmkane is attempting to deploy a commit to the alantoa's projects Team on Vercel.

A member of the Team first needs to authorize it.

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant