Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(context-menu) Don't overwrite hidden prop (#11265)

Robert Pintilii270070716b22
diff --git a/react/features/base/components/context-menu/ContextMenu.js b/react/features/base/components/context-menu/ContextMenu.js
index e2b5ed1fb8..00658def30 100644
--- a/react/features/base/components/context-menu/ContextMenu.js
+++ b/react/features/base/components/context-menu/ContextMenu.js
@@ -148,7 +148,7 @@ const ContextMenu = ({
setIsHidden(false);
} else {
- setIsHidden(true);
+ hidden === undefined && setIsHidden(true);
}
}, [ entity, offsetTarget, _overflowDrawer ]);