From b53db35f10193ae8e56605ee3e4b32b2b3722a82 Mon Sep 17 00:00:00 2001 From: RazvanBalota <118636956+RazvanBalota@users.noreply.github.com> Date: Wed, 24 Jan 2024 16:11:48 +0200 Subject: [PATCH] fix:block map scrolling without ctrl/cmd key pressed (#3) --- src/components/Map.jsx | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/components/Map.jsx b/src/components/Map.jsx index d2b4d6c..768b050 100644 --- a/src/components/Map.jsx +++ b/src/components/Map.jsx @@ -15,16 +15,12 @@ export default function MyMap() { }} style={{ width: 600, height: 600 }} mapStyle="mapbox://styles/razvan42/clrj101eb00oo01qththo326l" + cooperativeGestures={true} > - - + + + + );