From d5c4ca612805f9891aa6af0eaad70621d903d53e Mon Sep 17 00:00:00 2001 From: Trevor Bayless Date: Sun, 24 Oct 2021 22:49:54 -0500 Subject: [PATCH] Do not allow ConfigHandle icons to be dragged on the canvas (#1260) --- frontend/src/Editor/ConfigHandle.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/Editor/ConfigHandle.jsx b/frontend/src/Editor/ConfigHandle.jsx index 3bfb2d4a92..5164a5cd08 100644 --- a/frontend/src/Editor/ConfigHandle.jsx +++ b/frontend/src/Editor/ConfigHandle.jsx @@ -18,6 +18,7 @@ export const ConfigHandle = function ConfigHandle({ id, component, configHandleC src="/assets/images/icons/menu.svg" width="8" height="8" + draggable="false" /> {component.name} @@ -28,6 +29,7 @@ export const ConfigHandle = function ConfigHandle({ id, component, configHandleC role="button" className="mx-2" height="12" + draggable="false" onClick={() => removeComponent({ id })} />