fix(popover): fix popover hijacking mouse event bug (#1201)

This commit is contained in:
jeremywu
2021-01-05 17:51:31 +08:00
committed by GitHub
parent 43f9113de0
commit 97f992fce6
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
<template>
<el-popper
v-model:visible="visible"
:trigger="['click']"
trigger="click"
effect="light"
popper-class="el-popover"
append-to-body

View File

@@ -97,7 +97,7 @@ export default defineComponent({
onMouseLeave: onPopperMouseLeave,
onAfterEnter,
onAfterLeave,
stopPopperMouseEvent: true,
stopPopperMouseEvent: false,
}, [
title,
content,