Files
shaka-player/ui
Andy(김규회) 3de29d45d3 fix(UI): sync seek position with hover and onChange timestamp using consistent position calculation (#9827)
### Problem

Previously, click/drag in the seek bar relied on the browser's default
range entry event. The hover preview used 'getValueFromPosition()'
separately. This resulted in a mismatch between the hover timestamp and
the actual search position, This problem was particularly noticeable in
long videos.

### FIx

I modified to call `getValueFromPosition()` directory even when
click/drag. However click, drag, and touch all go through the same
function, so timestamp previews and navigation positions are always
sychronized.

In addition, I also fixed a bug where the tooltip moves instaneously
when clicking by reflecting the thumbWide correction when we reverse the
tooltip position to value in `onChange()`.

---------

Co-authored-by: Claude Code <noreply@anthropic.com>
Co-authored-by: Álvaro Velad Galván <ladvan91@hotmail.com>
2026-03-16 09:56:38 +01:00
..