1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

not autofocusing on title if node is edited on mobile

This commit is contained in:
Fedor Katurov 2022-07-14 13:39:39 +07:00
parent 042f238590
commit 5c9357f83f

View file

@ -23,7 +23,7 @@ const EditorButtons: FC = () => {
title="Название" title="Название"
value={values.title} value={values.title}
handler={handleChange('title')} handler={handleChange('title')}
autoFocus autoFocus={!isMobile}
maxLength={256} maxLength={256}
disabled={isSubmitting} disabled={isSubmitting}
/> />