Repository navigation
Pause transcript auto-scroll on manual scroll - #64
Merged
Merged
Conversation
Auto-follow still keeps the active word in view during playback, but wheel/touch and the custom scroll rail now unfollow so manual browsing is not overridden. A Follow playhead control (and clicking a word) resumes sync. Co-authored-by: Wassim Gharbi <wassgha@gmail.com>
Use an arrow that matches whether the playhead is above or below the current transcript viewport so the control cues the jump direction. Co-authored-by: Wassim Gharbi <wassgha@gmail.com>
Wheel over a non-scrollable transcript no longer toggles follow UI. Unfollow waits until a user scroll actually leaves the playhead, and the chip only appears while the active word is out of view. Co-authored-by: Wassim Gharbi <wassgha@gmail.com>
Move auto-scroll, unfollow-on-scroll, and Follow control state out of TranscriptPanel into useTranscriptPlayheadFollow. Co-authored-by: Wassim Gharbi <wassgha@gmail.com>
wassgha
marked this pull request as ready for review
August 3, 2026 00:21
Resolve TranscriptPanel conflict by keeping playhead-follow hook wiring alongside main's floating toolbar and disfluency placeholder changes. Co-authored-by: Wassim Gharbi <wassgha@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
While video plays, the transcript keeps the active word in view via
scrollIntoView. That sync is useful, but any manual scroll was immediately overridden on the next active-word change.Fix
useTranscriptPlayheadFollow.Test plan
Demo