commit: 36aae1635ad370ecf4d22ae6d62cbbba6af19fd3
parent 6fc62a771a8e54ae84781805e2819094967237ac
Author: Henry Jameson <me@hjkos.com>
Date: Sun, 31 Jul 2022 11:30:52 +0300
fix typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)
}
},