From 9f77b8c227c1a5bffa5d91b0c48bf3bbc44d4cec Mon Sep 17 00:00:00 2001 From: Robin Townsend Date: Thu, 14 Apr 2022 19:57:06 -0400 Subject: [PATCH] Fix Jitsi Meet getting wedged on startup in Chrome and Safari --- res/css/structures/_VideoRoomView.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/res/css/structures/_VideoRoomView.scss b/res/css/structures/_VideoRoomView.scss index d99b3f5894b..5eeabffa131 100644 --- a/res/css/structures/_VideoRoomView.scss +++ b/res/css/structures/_VideoRoomView.scss @@ -36,6 +36,14 @@ limitations under the License. // While the lobby is shown, the widget needs to stay loaded but hidden in the background .mx_VideoLobby ~ .mx_AppTile { - display: none; + // You'd think this could just be a display: none or visibility: hidden, + // but for some reason that causes Jitsi Meet to get wedged on startup + // in Chrome and Safari, so we instead make it nearly dimensionless and + // push it way out of sight + min-width: 0; + width: 1px; + height: 1px; + position: fixed; + top: -100px; } }