fix: menu hide when quicky hover
parent
39e7b8f4b6
commit
36df585acf
|
@ -150,7 +150,8 @@ export default defineComponent({
|
||||||
zIndex,
|
zIndex,
|
||||||
opacity:
|
opacity:
|
||||||
statusValue === 'motion' || statusValue === 'stable' || !visible.value ? null : 0,
|
statusValue === 'motion' || statusValue === 'stable' || !visible.value ? null : 0,
|
||||||
pointerEvents: statusValue === 'stable' ? null : 'none',
|
// pointerEvents: statusValue === 'stable' ? null : 'none',
|
||||||
|
pointerEvents: !visible.value && statusValue !== 'stable' ? 'none' : null,
|
||||||
},
|
},
|
||||||
attrs.style as CSSProperties,
|
attrs.style as CSSProperties,
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue