fix: textarea input height issue

This commit is contained in:
Timothy Jaeryang Baek
2024-11-23 22:27:01 -08:00
parent c567185cb1
commit 2a5506a9cd
2 changed files with 3 additions and 5 deletions

View File

@@ -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 = '';