From 661a89ea747e2ef8e0a7671e1a0ace148e9624e9 Mon Sep 17 00:00:00 2001 From: ThibG Date: Thu, 13 Sep 2018 15:27:29 +0200 Subject: [PATCH] Autofocus comment textarea in report modal (#8689) --- app/javascript/mastodon/features/ui/components/report_modal.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/javascript/mastodon/features/ui/components/report_modal.js b/app/javascript/mastodon/features/ui/components/report_modal.js index 90f0013197..1962d4ae9f 100644 --- a/app/javascript/mastodon/features/ui/components/report_modal.js +++ b/app/javascript/mastodon/features/ui/components/report_modal.js @@ -106,6 +106,7 @@ export default class ReportModal extends ImmutablePureComponent { onChange={this.handleCommentChange} onKeyDown={this.handleKeyDown} disabled={isSubmitting} + autoFocus /> {domain && (