From 9ec5f1f54bed64a2a87b44466d0fdedd1a412b30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Thu, 20 Apr 2023 12:58:04 -0400 Subject: [PATCH] https://github.com/NodeBB/NodeBB/issues/11500 --- public/src/client/chats/messages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/client/chats/messages.js b/public/src/client/chats/messages.js index facce0a022..b273f478f0 100644 --- a/public/src/client/chats/messages.js +++ b/public/src/client/chats/messages.js @@ -65,7 +65,7 @@ define('forum/chats/messages', [ // https://stackoverflow.com/questions/454202/creating-a-textarea-with-auto-resize const textarea = chatContentEl.find('[component="chat/input"]'); const scrollHeight = textarea.prop('scrollHeight'); - textarea.css({ height: scrollHeight + 'px', 'overflow-y': 'hidden' }); + textarea.css({ height: scrollHeight + 'px' }); textarea.on('input', function () { const isAtBottom = messages.isAtBottom(chatContentEl.find('.chat-content')); textarea.css({ height: 0 });