diff --git a/packages/editor-mobile/src/components/title.tsx b/packages/editor-mobile/src/components/title.tsx index 6dd6675b7..1cc77f0aa 100644 --- a/packages/editor-mobile/src/components/title.tsx +++ b/packages/editor-mobile/src/components/title.tsx @@ -73,9 +73,10 @@ function Title({ useEffect(() => { if (!loading) { + resizeTextarea(); setTimeout(() => { resizeTextarea(); - }, 300); + }, 100); } }, [loading, resizeTextarea]); @@ -154,6 +155,9 @@ function Title({ onPaste={() => { resizeTextarea(); }} + onCut={() => { + resizeTextarea(); + }} placeholder={titlePlaceholder} />