diff --git a/packages/@mantine/hooks/src/use-fullscreen/use-fullscreen.ts b/packages/@mantine/hooks/src/use-fullscreen/use-fullscreen.ts index 87a28e8874a..e6ad6806f80 100644 --- a/packages/@mantine/hooks/src/use-fullscreen/use-fullscreen.ts +++ b/packages/@mantine/hooks/src/use-fullscreen/use-fullscreen.ts @@ -121,7 +121,7 @@ export function useFullscreen() { } return undefined; - }, []); + }, [_ref.current]); return { ref, toggle, fullscreen } as const; }