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

@@ -881,7 +881,6 @@
on:input={async (e) => {
e.target.style.height = '';
e.target.style.height = Math.min(e.target.scrollHeight, 200) + 'px';
user = null;
}}
on:focus={async (e) => {
e.target.style.height = '';