Skip to content

Commit

Permalink
fix(PresetPanel): preset panel stopPropagation (#7550)
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-lc authored Jun 4, 2024
1 parent 1d0fa85 commit b82d8dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/vc-picker/PresetPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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={() => {
Expand Down

0 comments on commit b82d8dd

Please sign in to comment.