Skip to content

Commit 2c41036

Browse files
authored
Change custom event back to change
1 parent 6daef3b commit 2c41036

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/text.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ export function insertText(textarea: HTMLInputElement | HTMLTextAreaElement, tex
2828
} catch (e) {
2929
// Do nothing.
3030
}
31-
textarea.dispatchEvent(new CustomEvent('input', {bubbles: true, cancelable: true}))
31+
textarea.dispatchEvent(new CustomEvent('change', {bubbles: true, cancelable: true}))
3232
}
3333
}

0 commit comments

Comments
 (0)