Skip to content

Commit

Permalink
fix: menu hide when quicky hover
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Jul 7, 2022
1 parent 39e7b8f commit 36df585
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/vc-trigger/Popup/PopupInner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
];
Expand Down

0 comments on commit 36df585

Please sign in to comment.