Skip to content

Commit

Permalink
input and textarea don't work
Browse files Browse the repository at this point in the history
  • Loading branch information
khaitruong922 committed Sep 24, 2024
1 parent 6a0f1ae commit 4fd5558
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/js/language/text-scanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -1658,6 +1658,7 @@ export class TextScanner extends EventDispatcher {
if (pointerType === 'touch') {
// Avoid trigger search with tapping on interactive elements.
const popupClickableSelector = '.gloss-link,.gloss-link *,.tag, .tag *, .inflection, a, a *, input, textarea, textarea *';
const popupClickableSelector = '.gloss-link,.gloss-link *,.tag, .tag *, .inflection, a, a *'
return this._excludeSelector ? `${this._excludeSelector},${popupClickableSelector}` : popupClickableSelector;
}
return this._excludeSelector;
Expand Down

0 comments on commit 4fd5558

Please sign in to comment.