To avoid locking the user into the popup due to focus lock clash
Fixes #29985
(cherry picked from commit 7eb133286b)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -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.*/}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user