mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-14 12:18:08 +00:00
ref: improve handling for room destroyed events (#13591)
* ref: improve handling for room destroyed events * add missing translation * code review * implement kick handling * implement native handling * fix tests * code review changes * add dialog testId * fix end conf for react native * fix lobby test * add translation for lobby closing --------- Co-authored-by: Gabriel Borlea <gabriel.borlea@8x8.com>
This commit is contained in:
@@ -139,6 +139,7 @@ export interface IProps {
|
||||
onClose?: () => void;
|
||||
size?: 'large' | 'medium';
|
||||
submit?: () => void;
|
||||
testId?: string;
|
||||
title?: string;
|
||||
titleKey?: string;
|
||||
}
|
||||
@@ -152,6 +153,7 @@ const BaseDialog = ({
|
||||
onClose,
|
||||
size = 'medium',
|
||||
submit,
|
||||
testId,
|
||||
title,
|
||||
titleKey
|
||||
}: IProps) => {
|
||||
@@ -179,7 +181,9 @@ const BaseDialog = ({
|
||||
}, [ handleKeyDown ]);
|
||||
|
||||
return (
|
||||
<div className = { cx(classes.container, isUnmounting && 'unmount') }>
|
||||
<div
|
||||
className = { cx(classes.container, isUnmounting && 'unmount') }
|
||||
data-testid = { testId }>
|
||||
<div className = { classes.backdrop } />
|
||||
<FocusOn
|
||||
className = { classes.focusLock }
|
||||
|
||||
Reference in New Issue
Block a user