mirror of
https://github.com/immich-app/immich.git
synced 2025-11-26 12:39:44 +09:00
fix(web): auto grow area extend when there is no content (#12197)
* fix(web): text area expand when there is no description * use correct content
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
// re-visit with svelte 5. runes will make this better.
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
|
||||
newContent;
|
||||
if (textarea) {
|
||||
if (textarea && newContent.length > 0) {
|
||||
void tick().then(() => autoGrowHeight(textarea));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user