Show errors / queue on message.

Focus editor / box properly.
This commit is contained in:
Paul
2021-06-22 10:59:06 +01:00
parent 5db0854b42
commit 8fe1ce3450
8 changed files with 52 additions and 173 deletions

View File

@@ -58,6 +58,7 @@ export default function MessageEditor({ message, finish }: Props) {
return (
<EditorBase>
<TextAreaAutoSize
forceFocus
maxRows={3}
padding={12}
value={content}
@@ -73,7 +74,6 @@ export default function MessageEditor({ message, finish }: Props) {
save();
}
}}
// forceFocus
/>
<span className="caption">
escape to <a onClick={finish}>cancel</a> &middot;