1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-27 11:09:53 +02:00

Fix pinch zoom not working on resources

This commit is contained in:
Kamran Ahmed
2021-12-04 20:27:35 +01:00
parent d981d375b3
commit 6650e16bbb
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ export function ContentDrawer(props: ContentDrawerProps) {
bg="black"
opacity={0.4}
/>
<RemoveScroll>
<RemoveScroll allowPinchZoom>
<Box
p="0px 30px 30px"
position="fixed"

View File

@@ -34,7 +34,7 @@ function RoadmapRenderer(props: RoadmapProps) {
console.error(err);
setHasError(true);
});
}, []);
}, [get, roadmap.id]);
// Event bindings for the roadmap interactivity
useEffect(() => {