diff --git a/platform/app/src/components/ViewportGrid.tsx b/platform/app/src/components/ViewportGrid.tsx index 05e1723cd..9d95eb691 100644 --- a/platform/app/src/components/ViewportGrid.tsx +++ b/platform/app/src/components/ViewportGrid.tsx @@ -276,7 +276,7 @@ function ViewerViewportGrid(props: withAppTypes) { return; } - if (event) { + if (event && (appConfig?.activateViewportBeforeInteraction ?? true)) { event.preventDefault(); event.stopPropagation(); } @@ -310,10 +310,7 @@ function ViewerViewportGrid(props: withAppTypes) { >