diff --git a/ext/fg/js/client.js b/ext/fg/js/client.js index 6b618bde..20838e10 100644 --- a/ext/fg/js/client.js +++ b/ext/fg/js/client.js @@ -88,6 +88,11 @@ class Client { return; } + if (this.popup.contains(range.startContainer)) { + this.hidePopup(); + return; + } + const rect = getRangePaddedRect(range); if (point.x < rect.left || point.x > rect.right) { this.hidePopup();