Fix pinch zoom not working on resources
This commit is contained in:
@ -27,7 +27,7 @@ export function ContentDrawer(props: ContentDrawerProps) {
|
|||||||
bg="black"
|
bg="black"
|
||||||
opacity={0.4}
|
opacity={0.4}
|
||||||
/>
|
/>
|
||||||
<RemoveScroll>
|
<RemoveScroll allowPinchZoom>
|
||||||
<Box
|
<Box
|
||||||
p="0px 30px 30px"
|
p="0px 30px 30px"
|
||||||
position="fixed"
|
position="fixed"
|
||||||
|
@ -34,7 +34,7 @@ function RoadmapRenderer(props: RoadmapProps) {
|
|||||||
console.error(err);
|
console.error(err);
|
||||||
setHasError(true);
|
setHasError(true);
|
||||||
});
|
});
|
||||||
}, []);
|
}, [get, roadmap.id]);
|
||||||
|
|
||||||
// Event bindings for the roadmap interactivity
|
// Event bindings for the roadmap interactivity
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
Reference in New Issue
Block a user