From b95d65e4d8823d79e746dc3cc870fcbd44aa2d6f Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Fri, 6 Mar 2026 11:28:37 +0000 Subject: [PATCH] Do not block touch events on ports --- .../node_modules/@node-red/editor-client/src/js/ui/view.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/view.js b/packages/node_modules/@node-red/editor-client/src/js/ui/view.js index c5ef6f5d3..1460697ab 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/view.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/view.js @@ -3226,7 +3226,8 @@ RED.view = (function() { clearSuggestedFlow(); RED.contextMenu.hide(); evt = evt || d3.event; - if (evt.button !== 0) { + + if (!evt.touches && evt.button !== 0) { return; } if (mouse_mode === RED.state.SELECTING_NODE) { @@ -4082,7 +4083,7 @@ RED.view = (function() { d3.event.stopPropagation(); return; } - if (d3.event.button !== 0) { + if (!d3.event.touches && d3.event.button !== 0) { return } mousedown_link = d;