Skip to content

Commit 661a89e

Browse files
ClearlyClaireGargron
authored andcommitted
Autofocus comment textarea in report modal (#8689)
1 parent 7fa4144 commit 661a89e

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)