fix: textarea input height issue

This commit is contained in:
Timothy Jaeryang Baek committed 2024-11-23 22:27:01 -08:00
1 parent c567185cb1
commit 2a5506a9cd
2 files changed
+3 -5

No files matched your search

+3 -4
View File
@@ -888,11 +888,10 @@
await tick();
// Reset chat input textarea
const chatInputContainer = document.getElementById('chat-input-container');
const chatInputElement = document.getElementById('chat-input');
if (chatInputContainer) {
chatInputContainer.value = '';
chatInputContainer.style.height = '';
if (chatInputElement) {
chatInputElement.style.height = '';
}
const _files = JSON.parse(JSON.stringify(files));