diff --git a/ts/components/CallingLobby.tsx b/ts/components/CallingLobby.tsx
index 2a3fc6e4f4..bb997cf8fc 100644
--- a/ts/components/CallingLobby.tsx
+++ b/ts/components/CallingLobby.tsx
@@ -2,6 +2,7 @@
// SPDX-License-Identifier: AGPL-3.0-only
import React from 'react';
+import FocusTrap from 'focus-trap-react';
import classNames from 'classnames';
import type {
SetLocalAudioType,
@@ -204,83 +205,85 @@ export const CallingLobby = ({
}
return (
-
- {shouldShowLocalVideo ? (
-
- ) : (
-
- )}
-
-
-
-
-
-
+
+ {shouldShowLocalVideo ? (
+
+ ) : (
+
)}
- >
- {i18n('calling__your-video-is-off')}
-
-
-
-
-
+ {i18n('calling__your-video-is-off')}
+
+
+
+
+
+
+
+
+
{
+ setIsCallConnecting(true);
+ onJoinCall();
+ }}
+ variant={callingLobbyJoinButtonVariant}
/>
-
-
{
- setIsCallConnecting(true);
- onJoinCall();
- }}
- variant={callingLobbyJoinButtonVariant}
- />
-
+
);
};
diff --git a/ts/components/Tooltip.tsx b/ts/components/Tooltip.tsx
index 9daf61ab0e..482788ebc8 100644
--- a/ts/components/Tooltip.tsx
+++ b/ts/components/Tooltip.tsx
@@ -34,6 +34,12 @@ const TooltipEventWrapper = React.forwardRef<
onHoverChanged(false);
}, [onHoverChanged]);
+ const onFocus = React.useCallback(() => {
+ if (window.getInteractionMode() === 'keyboard') {
+ on();
+ }
+ }, [on]);
+
React.useEffect(() => {
const wrapperEl = wrapperRef.current;
@@ -52,7 +58,7 @@ const TooltipEventWrapper = React.forwardRef<
return (
(ref, wrapperRef)}
>