From 5c9357f83f887b0a2f6255bfe85811dcbaf32961 Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Thu, 14 Jul 2022 13:39:39 +0700 Subject: [PATCH] not autofocusing on title if node is edited on mobile --- src/components/editors/EditorButtons/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/editors/EditorButtons/index.tsx b/src/components/editors/EditorButtons/index.tsx index 6eec2727..1b11ddba 100644 --- a/src/components/editors/EditorButtons/index.tsx +++ b/src/components/editors/EditorButtons/index.tsx @@ -23,7 +23,7 @@ const EditorButtons: FC = () => { title="Название" value={values.title} handler={handleChange('title')} - autoFocus + autoFocus={!isMobile} maxLength={256} disabled={isSubmitting} />