fix: menu hide when quicky hover

pull/5786/head
tangjinzhou 2022-07-07 10:24:19 +08:00
parent 39e7b8f4b6
commit 36df585acf
1 changed files with 2 additions and 1 deletions

View File

@ -150,7 +150,8 @@ export default defineComponent({
zIndex,
opacity:
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,
];