PromucFlow_constructor/app/.yarn/patches/@blueprintjs-core-npm-3.47.0-a5bc1ea927.patch
Satish Gandham 83538ad74d
feat: Bundle optimization and first load improvements (#21667)
Co-authored-by: Ivan Akulov <mail@iamakulov.com>
Co-authored-by: Satish Gandham <hello@satishgandham.com>
Co-authored-by: Ivan Akulov <iamakulov@outlook.com>
Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
Co-authored-by: somangshu <somangshu.goswami1508@gmail.com>
2023-05-11 10:56:03 +05:30

14 lines
741 B
Diff

diff --git a/lib/esm/components/popover/popover.js b/lib/esm/components/popover/popover.js
index cb7faf374a596a7a32d5a3edc55445990bfbcfe1..b09c2e1fc72c9770cc4a05071c416ed898ff9cdb 100644
--- a/lib/esm/components/popover/popover.js
+++ b/lib/esm/components/popover/popover.js
@@ -167,6 +167,8 @@ var Popover = /** @class */ (function (_super) {
// close the popover if necessary.
if (e.relatedTarget != null && !_this.isElementInPopover(e.relatedTarget)) {
_this.handleMouseLeave(e);
+ } else if(e.relatedTarget === null) {
+ _this.handleMouseLeave(e);
}
}
_this.lostFocusOnSamePage = e.relatedTarget != null;