mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-06 07:20:29 +03:00
Fix unexpected visibility in non-room areas
This commit is contained in:
parent
00ac8f654a
commit
ae9cc7a548
1 changed files with 2 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ export function CallView({ room, eventId }: { room: Room; eventId?: string }) {
|
||||||
iframeElement.style.height = `${hostRect.height}px`;
|
iframeElement.style.height = `${hostRect.height}px`;
|
||||||
iframeElement.style.border = 'none';
|
iframeElement.style.border = 'none';
|
||||||
iframeElement.style.zIndex = '1000';
|
iframeElement.style.zIndex = '1000';
|
||||||
iframeElement.style.display = 'block';
|
iframeElement.style.display = room.isCallRoom() ? 'block' : 'none';
|
||||||
iframeElement.style.visibility = 'visible';
|
iframeElement.style.visibility = 'visible';
|
||||||
iframeElement.style.pointerEvents = 'auto';
|
iframeElement.style.pointerEvents = 'auto';
|
||||||
}
|
}
|
||||||
|
|
@ -139,6 +139,7 @@ export function CallView({ room, eventId }: { room: Room; eventId?: string }) {
|
||||||
height: '100%',
|
height: '100%',
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
pointerEvents: 'none',
|
pointerEvents: 'none',
|
||||||
|
display: isCallViewVisible ? 'flex' : 'none',
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue