From 226397afac39ea63b6d200e5cea4d985b1bb26e6 Mon Sep 17 00:00:00 2001 From: C4rnivore Date: Fri, 25 Jul 2025 10:50:17 +0500 Subject: [PATCH] overflow fix --- src/components/MarasiDriveMapMobile.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/MarasiDriveMapMobile.tsx b/src/components/MarasiDriveMapMobile.tsx index 0363c85..59debfd 100644 --- a/src/components/MarasiDriveMapMobile.tsx +++ b/src/components/MarasiDriveMapMobile.tsx @@ -20,6 +20,9 @@ function MarasiDriveMapMobile() { left: 0, behavior: "smooth", }); + document.body.style.overflowY = "hidden"; + } else { + document.body.style.overflowY = "scroll"; } }, [mapActive]);