From 00cd9fadeca207dfa20963e4a4734012982de9ab Mon Sep 17 00:00:00 2001 From: Christian Byrne Date: Mon, 28 Jul 2025 23:51:09 -0700 Subject: [PATCH] [feat] Prevent browser zoom on UI components with canvas wheel event forwarding (#4574) --- src/components/graph/GraphCanvasMenu.vue | 3 + src/components/graph/SelectionToolbox.vue | 3 + .../graph/useCanvasInteractions.ts | 59 ++++++++ .../graph/useCanvasInteractions.test.ts | 126 ++++++++++++++++++ 4 files changed, 191 insertions(+) create mode 100644 src/composables/graph/useCanvasInteractions.ts create mode 100644 tests-ui/tests/composables/graph/useCanvasInteractions.test.ts diff --git a/src/components/graph/GraphCanvasMenu.vue b/src/components/graph/GraphCanvasMenu.vue index f0b208ce4..70c44c2c5 100644 --- a/src/components/graph/GraphCanvasMenu.vue +++ b/src/components/graph/GraphCanvasMenu.vue @@ -1,6 +1,7 @@