Skip to content
TypeScript

fix(web): hide browser when the right panel starts closing (#10385)

Neel Patel7e8ae6b8d667
diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsx
index 78552c9c813..2f2fe5a434e 100644
--- a/apps/web/src/components/ChatView.tsx
+++ b/apps/web/src/components/ChatView.tsx
@@ -7607,7 +7607,7 @@ export default function ChatView(props: ChatViewProps) {
threadRef={activeThreadRef}
tabId={renderedRightPanelSurface.resourceId}
configuredUrls={configuredPreviewUrls}
- visible
+ visible={rightPanelOpen}
onSendAnnotation={(annotation, image) => {
void onSend(undefined, "foreground", { annotation, image });
}}