fix(plex): the player holds the page still and covers it whole; the row drops the countdown

On an iPad a drag on the video scrolled the page behind the player, and in Brave
dvh did not follow the toolbar, so a strip of the page showed under it. The
page is now locked without overscroll on a black root while the player is open,
and the player is sized from its fixed box. The time row keeps the position,
the length and the end clock; the countdown is gone (owner).
This commit is contained in:
2026-10-08 02:42:31 +02:00
parent ca949d22de
commit 1044eaf8a9
3 changed files with 60 additions and 10 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ export function trapTab(
// second copy of the lock is gone.
let scrollLocks = 0;
let unlockedOverflow = "";
function lockBodyScroll(): () => void {
export function lockBodyScroll(): () => void {
if (scrollLocks++ === 0) {
unlockedOverflow = document.body.style.overflow;
document.body.style.overflow = "hidden";