diff --git a/src/components/pages/Publish/index.tsx b/src/components/pages/Publish/index.tsx index 5e9ba5e68..e19d8550b 100644 --- a/src/components/pages/Publish/index.tsx +++ b/src/components/pages/Publish/index.tsx @@ -74,6 +74,9 @@ export default function PublishPage({ initialStatus="empty" validationSchema={validationSchema} onSubmit={async (values, { setSubmitting, resetForm }) => { + // move user's focus to top of screen + window.scrollTo({ top: 0, left: 0, behavior: 'smooth' }) + // kick off publishing await handleSubmit(values, resetForm) setSubmitting(false) }}