mirror of
https://github.com/bbara04/Purefin.git
synced 2026-07-23 19:26:50 +00:00
Previously, the Slider's value was switched from the local sliderPosition to the positionMs prop the instant onValueChangeFinished cleared isScrubbing. Because the prop had not yet caught up with the committed seek, the thumb visibly snapped back to the pre-seek position before jumping to the target. Drive the slider from sliderPosition unconditionally, sync sliderPosition from the prop via a LaunchedEffect only when not scrubbing, and pin sliderPosition to the committed target before clearing isScrubbing in onValueChangeFinished.