From b82d8dd2ad6e652756eb15dca8a18dfa54c72be5 Mon Sep 17 00:00:00 2001 From: evanlc <1411197585@qq.com> Date: Tue, 4 Jun 2024 23:28:22 +0800 Subject: [PATCH] fix(PresetPanel): preset panel stopPropagation (#7550) --- components/vc-picker/PresetPanel.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/vc-picker/PresetPanel.tsx b/components/vc-picker/PresetPanel.tsx index 7ee01bef84..a5d98d02a6 100644 --- a/components/vc-picker/PresetPanel.tsx +++ b/components/vc-picker/PresetPanel.tsx @@ -22,7 +22,8 @@ export default defineComponent({ {props.presets.map(({ label, value }, index) => (
  • { + onClick={e => { + e.stopPropagation(); props.onClick(value); }} onMouseenter={() => {