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.
1 parent 8e40415 commit 8e3a2b5Copy full SHA for 8e3a2b5
src/ChatWindow/MessagesList.vue
@@ -426,7 +426,8 @@ export default {
426
},
427
resizeTextarea(textarea) {
428
textarea.style.height = 0
429
- textarea.style.height = textarea.scrollHeight + 'px'
+ const offset = this.imageFile ? 2 : 0
430
+ textarea.style.height = textarea.scrollHeight + offset + 'px'
431
432
addEmoji(emoji) {
433
this.message += emoji.icon
0 commit comments