ensure stream continues when switching between stream and recordings (#3865)
This commit is contained in:
@@ -75,6 +75,7 @@ type Props = {
|
||||
run: WorkflowRunStatusApiResponse;
|
||||
};
|
||||
resizeTrigger?: number;
|
||||
isVisible?: boolean;
|
||||
// --
|
||||
onClose?: () => void;
|
||||
};
|
||||
@@ -86,6 +87,7 @@ function BrowserStream({
|
||||
task = undefined,
|
||||
workflow = undefined,
|
||||
resizeTrigger,
|
||||
isVisible = true,
|
||||
// --
|
||||
onClose,
|
||||
}: Props) {
|
||||
@@ -622,7 +624,7 @@ function BrowserStream({
|
||||
)}
|
||||
ref={setCanvasContainerRef}
|
||||
>
|
||||
{isReady && (
|
||||
{isReady && isVisible && (
|
||||
<div className="overlay z-10 flex items-center justify-center overflow-hidden">
|
||||
{showControlButtons && (
|
||||
<div className="control-buttons pointer-events-none relative flex h-full w-full items-center justify-center">
|
||||
|
||||
Reference in New Issue
Block a user