Added autofocus on note title (#783)

This commit is contained in:
Lucas Bordeau 2023-07-21 03:39:28 +02:00 committed by GitHub
parent 6562c1527b
commit 066b4854d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,6 +146,7 @@ export function CommentThread({
<CommentThreadActionBar commentThreadId={commentThread?.id ?? ''} />
</StyledTopActionsContainer>
<StyledEditableTitleInput
autoFocus
placeholder={`${commentThread.type} title (optional)`}
onChange={(event) => {
setHasUserManuallySetTitle(true);