We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
change
1 parent 6daef3b commit 2c41036Copy full SHA for 2c41036
src/text.ts
@@ -28,6 +28,6 @@ export function insertText(textarea: HTMLInputElement | HTMLTextAreaElement, tex
28
} catch (e) {
29
// Do nothing.
30
}
31
- textarea.dispatchEvent(new CustomEvent('input', {bubbles: true, cancelable: true}))
+ textarea.dispatchEvent(new CustomEvent('change', {bubbles: true, cancelable: true}))
32
33
0 commit comments