From 117dc4154098dbb6d3ed4c6bad142cc2eeeedb5d Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Mon, 31 Oct 2022 13:13:32 +0400 Subject: [PATCH] Fix pinch zoom not working on resources --- pages/[roadmap]/interactive.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pages/[roadmap]/interactive.tsx b/pages/[roadmap]/interactive.tsx index 78fd9c719..d70615d11 100644 --- a/pages/[roadmap]/interactive.tsx +++ b/pages/[roadmap]/interactive.tsx @@ -53,11 +53,6 @@ export function InteractiveRoadmapRenderer(props: RoadmapProps) { } function clickListener(event: MouseEvent) { - const viewPortMeta = document.querySelector('meta[name=viewport]'); - if (viewPortMeta) { - viewPortMeta.setAttribute('content', "initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0"); - } - const targetGroup = (event?.target as HTMLElement)?.closest('g'); const groupId = targetGroup?.dataset?.groupId; if (!targetGroup || !groupId) {