aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-07-31 11:30:52 +0300
committerHenry Jameson <me@hjkos.com>2022-07-31 11:30:52 +0300
commit36aae1635ad370ecf4d22ae6d62cbbba6af19fd3 (patch)
tree8cf0bde7a16be29310d77c658e8d5945c9381d70
parent6fc62a771a8e54ae84781805e2819094967237ac (diff)
fix typo
-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)
}
},