fix(context-menu) Don't overwrite hidden prop (#11265)
Fixes issue where the menu would disappear on dominant speaker change
This commit is contained in:
parent
1b1d976791
commit
270070716b
|
@ -148,7 +148,7 @@ const ContextMenu = ({
|
|||
|
||||
setIsHidden(false);
|
||||
} else {
|
||||
setIsHidden(true);
|
||||
hidden === undefined && setIsHidden(true);
|
||||
}
|
||||
}, [ entity, offsetTarget, _overflowDrawer ]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue