mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-14 18:01:20 +08:00
db1f696543
Addresses #308 review feedback from @jrusso1020: - visibilitychange + window blur: synthesize drag cleanup when the page is backgrounded mid-drag. iOS Safari does not reliably fire pointercancel on alt-tab / incoming call / app switch, which would leave isDraggingRef latched true until the next pointerdown. - Restore focus on pointerdown via e.currentTarget.focus() after the preventDefault() call, so the click-then-arrow-key seek workflow works without requiring an explicit Tab first. - Clarify the releasePointerCapture try/catch comment so the next reader does not chase the second-invocation no-op throw as a bug.