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>
14 lines
741 B
Diff
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;
|