Node.js based forum software built for the modern web
https://github.com/NodeBB/NodeBB/issues/11500
Barış Soner Uşaklı9ec5f1f54bed
diff --git a/public/src/client/chats/messages.js b/public/src/client/chats/messages.jsindex 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-resizeconst 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 });