aboutsummaryrefslogtreecommitdiff
path: root/ext/fg
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fg')
-rw-r--r--ext/fg/js/document.js1
1 files changed, 1 insertions, 0 deletions
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;