From 76948ae2870459af985dac2396e5c0f924ba05bc Mon Sep 17 00:00:00 2001 From: Liad Yosef Date: Fri, 16 Feb 2024 19:02:03 +0200 Subject: [PATCH] fix click --- .../inspector/sections/component-section/data-picker-popup.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/src/components/inspector/sections/component-section/data-picker-popup.tsx b/editor/src/components/inspector/sections/component-section/data-picker-popup.tsx index 3f5028d24406..82a3ab81687d 100644 --- a/editor/src/components/inspector/sections/component-section/data-picker-popup.tsx +++ b/editor/src/components/inspector/sections/component-section/data-picker-popup.tsx @@ -141,7 +141,7 @@ function ValueRow({ variableOption, idx, onTweakProperty }: ValueRowProps) { data-testid={VariableFromScopeOptionTestId(idx)} key={variableName} style={{ width: '100%', height: 25 }} - onClick={stopPropagation} + onClick={isArray ? stopPropagation : tweakProperty} >