From 149ffd32e64569cfa63a13fb15b96bbe03ff29a2 Mon Sep 17 00:00:00 2001 From: Liam Fitzgerald Date: Tue, 1 Sep 2020 01:25:51 +1000 Subject: [PATCH] publish: make input form expand to screen --- .../src/views/apps/publish/components/lib/MarkdownField.tsx | 2 +- .../src/views/apps/publish/components/lib/NoteForm.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/interface/src/views/apps/publish/components/lib/MarkdownField.tsx b/pkg/interface/src/views/apps/publish/components/lib/MarkdownField.tsx index efd4f0e47..b60af6a5c 100644 --- a/pkg/interface/src/views/apps/publish/components/lib/MarkdownField.tsx +++ b/pkg/interface/src/views/apps/publish/components/lib/MarkdownField.tsx @@ -12,7 +12,7 @@ export const MarkdownField = ({ id, ...rest }: { id: string; } & Parameters + setTouched(true)} onBlur={() => setTouched(false)} diff --git a/pkg/interface/src/views/apps/publish/components/lib/NoteForm.tsx b/pkg/interface/src/views/apps/publish/components/lib/NoteForm.tsx index cc83d248d..e4cc1f8ae 100644 --- a/pkg/interface/src/views/apps/publish/components/lib/NoteForm.tsx +++ b/pkg/interface/src/views/apps/publish/components/lib/NoteForm.tsx @@ -31,10 +31,11 @@ export function PostForm(props: PostFormProps) { return (