refac
This commit is contained in:
1 parent
c5d974606f
commit
6b620d93a9
1 file changed
+4
@@ -20,6 +20,10 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$: if (value) {
|
||||||
|
setTimeout(adjustHeight, 0);
|
||||||
|
}
|
||||||
|
|
||||||
const adjustHeight = () => {
|
const adjustHeight = () => {
|
||||||
if (textareaElement) {
|
if (textareaElement) {
|
||||||
textareaElement.style.height = '';
|
textareaElement.style.height = '';
|
||||||
|
|||||||
Reference in new issue
Block a user