We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f39c307 commit df1c34fCopy full SHA for df1c34f
src/expanding.js
@@ -13,7 +13,10 @@ function Expanding (textarea) {
13
wrap(textarea, this.element)
14
this.element.appendChild(this.textareaClone.element)
15
16
+ var inputHandler = this.update.bind(this)
17
this.textarea.on(inputEvent, this.update.bind(this))
18
+ if (inputEvent !== 'input') this.textarea.on('paste', inputHandler)
19
+
20
this.update()
21
}
22
0 commit comments