Move toasts in calls up and fix click to dismiss
This commit is contained in:
parent
31cbb89b0d
commit
8fd3059de8
8 changed files with 34 additions and 4 deletions
|
@ -265,7 +265,16 @@ export function CallingLobby({
|
|||
useWasInitiallyMutedToast(hasLocalAudio, i18n);
|
||||
|
||||
return (
|
||||
<FocusTrap>
|
||||
<FocusTrap
|
||||
focusTrapOptions={{
|
||||
allowOutsideClick: ({ target }) => {
|
||||
if (!target || !(target instanceof HTMLElement)) {
|
||||
return false;
|
||||
}
|
||||
return target.matches('.Toast, .Toast *');
|
||||
},
|
||||
}}
|
||||
>
|
||||
<div className="module-calling__container dark-theme">
|
||||
{shouldShowLocalVideo ? (
|
||||
<video
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue