mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-06 04:36:21 +02:00
To avoid locking the user into the popup due to focus lock clash Fixes #29985 (cherry picked from commit 7eb133286b1a0d783c589fd852ddf61642e1d805) Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
ee87b0e2d2
commit
713cd472c6
@ -178,7 +178,10 @@ export default function RoomHeader({
|
||||
aria-label={label}
|
||||
children={children}
|
||||
className="mx_RoomHeader_videoCallOption"
|
||||
onClick={(ev) => videoCallClick(ev, option)}
|
||||
onClick={(ev) => {
|
||||
setMenuOpen(false);
|
||||
videoCallClick(ev, option);
|
||||
}}
|
||||
Icon={VideoCallIcon}
|
||||
onSelect={() => {} /* Dummy handler since we want the click event.*/}
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user