Skip to content

Commit b82d8dd

Browse files
authored
fix(PresetPanel): preset panel stopPropagation (#7550)
1 parent 1d0fa85 commit b82d8dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/vc-picker/PresetPanel.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ export default defineComponent({
2222
{props.presets.map(({ label, value }, index) => (
2323
<li
2424
key={index}
25-
onClick={() => {
25+
onClick={e => {
26+
e.stopPropagation();
2627
props.onClick(value);
2728
}}
2829
onMouseenter={() => {

0 commit comments

Comments
 (0)