Disable always autofocus
This commit is contained in:
parent
65a879d5ab
commit
65bc0f0f86
|
@ -441,7 +441,7 @@ export function CommentInput(props: {
|
|||
? 'Write a reply... '
|
||||
: 'Write a comment...'
|
||||
}
|
||||
autoFocus={true}
|
||||
autoFocus={focused}
|
||||
onFocus={() => setFocused(true)}
|
||||
onBlur={() =>
|
||||
shouldCollapseAfterClickOutside && setFocused(false)
|
||||
|
|
Loading…
Reference in New Issue
Block a user