From 78e5c72310f89535b68afe8766d0255a4c6c9e3f Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Tue, 9 Dec 2025 22:16:54 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(frontend)=20prevent=20invite=20dia?= =?UTF-8?q?log=20to=20show=20up=20on=20mobile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit While creating a meeting on mobile, the dialog was opening, and when its width exceeds the mobile width, users are unable to close the dialog. Prevent the dialog opening on mobile as a hot fix. --- src/frontend/src/features/rooms/components/Conference.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/frontend/src/features/rooms/components/Conference.tsx b/src/frontend/src/features/rooms/components/Conference.tsx index 1b5dff43..d24b43a7 100644 --- a/src/frontend/src/features/rooms/components/Conference.tsx +++ b/src/frontend/src/features/rooms/components/Conference.tsx @@ -30,6 +30,7 @@ import { MediaDeviceErrorAlert } from './MediaDeviceErrorAlert' import { usePostHog } from 'posthog-js/react' import { useConfig } from '@/api/useConfig' import { isFireFox } from '@/utils/livekit' +import { useIsMobile } from '@/utils/useIsMobile' export const Conference = ({ roomId, @@ -169,6 +170,8 @@ export const Conference = ({ kind: null, }) + const isMobile = useIsMobile() + /* * Ensure stable WebSocket connection URL. This is critical for legacy browser compatibility * (Firefox <124, Chrome <125, Edge <125) where HTTPS URLs in WebSocket() constructor @@ -238,7 +241,7 @@ export const Conference = ({ }} > - {showInviteDialog && ( + {showInviteDialog && !isMobile && (