From 265781ea5e25190479484eff252748af91f44bb6 Mon Sep 17 00:00:00 2001 From: Valere Date: Wed, 20 May 2026 13:08:51 +0200 Subject: [PATCH] fix(regression): control buttons should be hidden on mobile PIP --- src/state/CallViewModel/CallViewModel.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/state/CallViewModel/CallViewModel.ts b/src/state/CallViewModel/CallViewModel.ts index 504875d2..63214a4a 100644 --- a/src/state/CallViewModel/CallViewModel.ts +++ b/src/state/CallViewModel/CallViewModel.ts @@ -1341,6 +1341,10 @@ export function createCallViewModel$( // Layout is edge-to-edge; show/hide the footer in response to interactions return windowMode$.pipe( switchMap((mode) => { + if (mode == "pip" && platform != "desktop") { + // No controls are shown in mobile pip as interactions are disabled + return of(false); + } const showInitially = mode !== "flat"; const timeout$ = mode === "flat" ? timer(showFooterMs) : NEVER;