From 9c012daef51b357e815bf04be54d71252c392a0f Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Tue, 4 Nov 2025 08:15:33 -0700 Subject: [PATCH] Don't portal upload dialog when not in fullscreen --- web/src/components/player/VideoControls.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/web/src/components/player/VideoControls.tsx b/web/src/components/player/VideoControls.tsx index d3bb1aa04..020c54d7b 100644 --- a/web/src/components/player/VideoControls.tsx +++ b/web/src/components/player/VideoControls.tsx @@ -289,6 +289,7 @@ export default function VideoControls({ }} onUploadFrame={onUploadFrame} containerRef={containerRef} + fullscreen={fullscreen} /> )} {features.fullscreen && toggleFullscreen && ( @@ -306,6 +307,7 @@ type FrigatePlusUploadButtonProps = { onClose: () => void; onUploadFrame: () => void; containerRef?: React.MutableRefObject; + fullscreen?: boolean; }; function FrigatePlusUploadButton({ video, @@ -313,6 +315,7 @@ function FrigatePlusUploadButton({ onClose, onUploadFrame, containerRef, + fullscreen, }: FrigatePlusUploadButtonProps) { const { t } = useTranslation(["components/player"]); @@ -349,7 +352,11 @@ function FrigatePlusUploadButton({ />