diff --git a/apps/builder/src/components/VariableSearchInput.tsx b/apps/builder/src/components/VariableSearchInput.tsx index e2934014b..39e71489b 100644 --- a/apps/builder/src/components/VariableSearchInput.tsx +++ b/apps/builder/src/components/VariableSearchInput.tsx @@ -58,7 +58,7 @@ export const VariableSearchInput = ({ useOutsideClick({ ref: dropdownRef, - handler: () => onClose, + handler: onClose, }) useEffect(() => { @@ -189,6 +189,7 @@ export const VariableSearchInput = ({ w="inherit" shadow="lg" onMouseDown={(e) => e.stopPropagation()} + onPointerDown={(e) => e.stopPropagation()} > {isCreateVariableButtonDisplayed && (