Add useLocationNavigation to fix navigation during browser media prompts
This commit is contained in:
@@ -14,6 +14,7 @@ import { getAvatarUrl } from "../matrix-utils";
|
||||
import { useProfile } from "../profile/useProfile";
|
||||
import useMeasure from "react-use-measure";
|
||||
import { ResizeObserver } from "@juggle/resize-observer";
|
||||
import { useLocationNavigation } from "../useLocationNavigation";
|
||||
|
||||
export function LobbyView({
|
||||
client,
|
||||
@@ -40,6 +41,8 @@ export function LobbyView({
|
||||
onInitLocalCallFeed();
|
||||
}, [onInitLocalCallFeed]);
|
||||
|
||||
useLocationNavigation(state === GroupCallState.InitializingLocalCallFeed);
|
||||
|
||||
return (
|
||||
<div className={styles.room}>
|
||||
<Header>
|
||||
|
||||
Reference in New Issue
Block a user