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

pull/7632/head
evanlc 6 months ago committed by GitHub
parent 1d0fa8533a
commit b82d8dd2ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save