Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: resize textarea after delay in title

Ammar Ahmedc466af60a6f1
diff --git a/packages/editor-mobile/src/components/title.tsx b/packages/editor-mobile/src/components/title.tsx
index 8da144eaf..0ceb15141 100644
--- a/packages/editor-mobile/src/components/title.tsx
+++ b/packages/editor-mobile/src/components/title.tsx
@@ -79,7 +79,7 @@ function Title({
if (!loading) {
setTimeout(() => {
resizeTextarea();
- });
+ }, 300);
}
}, [loading, resizeTextarea]);