Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(pre-join): Remove from dom when lobby is shown.

damencho09b696e95a5d
diff --git a/react/features/conference/components/web/Conference.tsx b/react/features/conference/components/web/Conference.tsx
index 14990cb3c1..1d30e8839a 100644
--- a/react/features/conference/components/web/Conference.tsx
+++ b/react/features/conference/components/web/Conference.tsx
@@ -118,8 +118,8 @@ interface IProps extends AbstractProps, WithTranslation {
* @param {IProps} props - The props object.
* @returns {boolean} - True if the prejoin screen should be displayed and false otherwise.
*/
-function shouldShowPrejoin({ _showPrejoin, _showVisitorsQueue }: IProps) {
- return _showPrejoin && !_showVisitorsQueue;
+function shouldShowPrejoin({ _showLobby, _showPrejoin, _showVisitorsQueue }: IProps) {
+ return _showPrejoin && !_showVisitorsQueue && !_showLobby;
}
/**