aboutsummaryrefslogtreecommitdiff
path: root/src/components/popover
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/popover')
-rw-r--r--src/components/popover/popover.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/popover/popover.js b/src/components/popover/popover.js
index 67bb1037..58f7126d 100644
--- a/src/components/popover/popover.js
+++ b/src/components/popover/popover.js
@@ -234,7 +234,7 @@ const Popover = {
}
},
onMouseleave (e) {
- if (this.trigger === 'hover' && this.childrenShown.size > 0) {
+ if (this.trigger === 'hover' && this.childrenShown.size === 0) {
this.graceTimeout = setTimeout(() => this.hidePopover(), 1)
}
},