diff --git a/ext/fg/js/document.js b/ext/fg/js/document.js index 514f8f2e..a017a0a6 100644 --- a/ext/fg/js/document.js +++ b/ext/fg/js/document.js @@ -94,6 +94,7 @@ function docRangeFromPoint(point) { const range = document.caretRangeFromPoint(point.x, point.y); if (imposter !== null) { imposter.style.zIndex = -2147483646; + imposter.style.pointerEvents = 'none'; } return range !== null && isPointInRange(point, range) ? new TextSourceRange(range) : null;