Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
fix(chrome-ext): disable on comboboxes (#2063)
Elijah Potterd03d48792188
diff --git a/packages/chrome-plugin/src/contentScript/index.ts b/packages/chrome-plugin/src/contentScript/index.tsindex 9f008d9cf..c23b54d3c 100644--- a/packages/chrome-plugin/src/contentScript/index.ts+++ b/packages/chrome-plugin/src/contentScript/index.ts@@ -54,6 +54,10 @@ function scan() {});document.querySelectorAll('[contenteditable="true"],[contenteditable]').forEach((element) => {+ if (element.matches('[role="combobox"]')) {+ return;+ }+const leafs = leafNodes(element);for (const leaf of leafs) {