Browse Source

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

Fixes issue where the menu would disappear on dominant speaker change
factor2
Robert Pintilii 3 years ago
parent
commit
270070716b
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      react/features/base/components/context-menu/ContextMenu.js

+ 1
- 1
react/features/base/components/context-menu/ContextMenu.js View File

@@ -148,7 +148,7 @@ const ContextMenu = ({
148 148
 
149 149
             setIsHidden(false);
150 150
         } else {
151
-            setIsHidden(true);
151
+            hidden === undefined && setIsHidden(true);
152 152
         }
153 153
     }, [ entity, offsetTarget, _overflowDrawer ]);
154 154
 

Loading…
Cancel
Save