diff --git a/app/scenes/Document/components/Editor.js b/app/scenes/Document/components/Editor.js index 4962451d..800ff95b 100644 --- a/app/scenes/Document/components/Editor.js +++ b/app/scenes/Document/components/Editor.js @@ -41,7 +41,11 @@ class DocumentEditor extends React.Component { }; handleTitleKeyDown = (event: SyntheticKeyboardEvent<>) => { - if (event.key === "Enter" || event.key === "Tab") { + if ( + event.key === "Enter" || + event.key === "Tab" || + event.key === "ArrowDown" + ) { event.preventDefault(); this.focusAtStart(); } @@ -78,6 +82,7 @@ class DocumentEditor extends React.Component { value={!title && readOnly ? document.titleWithDefault : title} style={startsWithEmojiAndSpace ? { marginLeft: "-1.2em" } : undefined} readOnly={readOnly} + disabled={readOnly} autoFocus={!title} maxLength={100} />