Skip to content
This repository was archived by the owner on Dec 20, 2018. It is now read-only.

Commit bf71699

Browse files
ClearlyClairekyori19
authored andcommitted
Autofocus comment textarea in report modal (mastodon#8689)
1 parent 6420891 commit bf71699

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/javascript/mastodon/features/ui/components/report_modal.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ export default class ReportModal extends ImmutablePureComponent {
106106
onChange={this.handleCommentChange}
107107
onKeyDown={this.handleKeyDown}
108108
disabled={isSubmitting}
109+
autoFocus
109110
/>
110111

111112
{domain && (

0 commit comments

Comments
 (0)