From 1199690a76f6828a9205f42bbded3837064e677f Mon Sep 17 00:00:00 2001 From: Cristhian Zanforlin Lousa Date: Tue, 12 Nov 2024 20:28:23 -0300 Subject: [PATCH] feat(input): Add drag prevention to popover and improve icon fallback handling (#4544) --- .../inputComponent/components/popover/index.tsx | 2 +- .../src/components/inputComponent/index.tsx | 16 +++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/frontend/src/components/inputComponent/components/popover/index.tsx b/src/frontend/src/components/inputComponent/components/popover/index.tsx index 64b67f143..9f3834a6b 100644 --- a/src/frontend/src/components/inputComponent/components/popover/index.tsx +++ b/src/frontend/src/components/inputComponent/components/popover/index.tsx @@ -127,7 +127,7 @@ const CustomInputPopover = ({ disabled={disabled} required={required} className={cn( - "popover-input truncate pr-4", + "popover-input nodrag truncate pr-4", editNode && "px-3", editNode && disabled && "h-fit w-fit", disabled && diff --git a/src/frontend/src/components/inputComponent/index.tsx b/src/frontend/src/components/inputComponent/index.tsx index 917e5f153..a4e86b4cf 100644 --- a/src/frontend/src/components/inputComponent/index.tsx +++ b/src/frontend/src/components/inputComponent/index.tsx @@ -179,13 +179,15 @@ export default function InputComponent({ )} >