Files
streamyfin/components
Gauvino ac0018092a fix(player): re-enable controls auto-hide, keep open while settings popover is open
Tapping to reveal the controls showed them permanently — they never auto-hid
after the inactivity timeout (CONTROLS_CONSTANTS.TIMEOUT). Root cause:
useControlsTimeout was called with a hardcoded disabled: true (introduced in
the KSPlayer work in #1266), so the auto-hide timer was never armed.

Simply removing that override re-introduced a regression on iOS: the timer
fired while the settings popover was open, dismissing it mid-interaction
(subtitle / audio / speed selection), because on iOS the popover lives inside
the controls and closes when they fade out.

Surface the popover's open state through a small ControlsContext (rather than
prop drilling through HeaderControls) and feed it to useControlsTimeout's
disabled flag, so auto-hide pauses while the menu is open and re-arms once it
closes. Android's menu is a separate global bottom-sheet modal, unaffected.

Fixes #1243. Regression from #1266. Depends on #1621.
2026-06-16 11:27:14 +02:00
..
wip
2026-01-19 08:21:55 +01:00
2025-08-07 10:12:40 +02:00
2026-01-18 13:20:17 +01:00
2026-05-30 21:41:27 +02:00
WIP
2025-01-30 09:20:31 +01:00
wip
2025-01-06 14:28:24 +01:00
2026-01-31 10:52:21 +01:00
2024-07-31 23:19:47 +02:00
2025-11-07 15:14:13 +01:00
wip
2026-01-19 08:21:55 +01:00