Browse Source

fix(PresetPanel): preset panel stopPropagation (#7550)

pull/7632/head
evanlc 6 months ago committed by GitHub
parent
commit
b82d8dd2ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      components/vc-picker/PresetPanel.tsx

3
components/vc-picker/PresetPanel.tsx

@ -22,7 +22,8 @@ export default defineComponent({
{props.presets.map(({ label, value }, index) => (
<li
key={index}
onClick={() => {
onClick={e => {
e.stopPropagation();
props.onClick(value);
}}
onMouseenter={() => {

Loading…
Cancel
Save