Open source video conferencing app powered by LiveKit. Built with Django and React.
🩹(frontend) allow fullscreen share warning interaction in PiP
Cyril636c2168bef7
diff --git a/src/frontend/src/features/pip/components/layout/StageFrame.tsx b/src/frontend/src/features/pip/components/layout/StageFrame.tsxindex f0a54d53..93edd049 100644--- a/src/frontend/src/features/pip/components/layout/StageFrame.tsx+++ b/src/frontend/src/features/pip/components/layout/StageFrame.tsx@@ -1,12 +1,19 @@import { useTranslation } from 'react-i18next'import { styled } from '@/styled-system/jsx'+import { useLocalParticipant } from '@livekit/components-react'export const StageFrame = ({ children }: { children: React.ReactNode }) => {const { t } = useTranslation('rooms', {keyPrefix: 'pictureInPicture',})+ const { localParticipant } = useLocalParticipant()+return (- <Container role="region" aria-label={t('stage')} {...{ inert: '' }}>+ <Container+ role="region"+ aria-label={t('stage')}+ {...(!localParticipant.isScreenShareEnabled ? { inert: '' } : {})}+ >{children}</Container>)