about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-09-13 15:27:29 +0200
committerEugen Rochko <eugen@zeonfederated.com>2018-09-13 15:27:29 +0200
commit661a89ea747e2ef8e0a7671e1a0ace148e9624e9 (patch)
tree1cec910566d0eb7a333f4de8cc7bae217eb2912e
parent7fa4144d48c2372b73b5ece88588381aeb861948 (diff)
Autofocus comment textarea in report modal (#8689)
-rw-r--r--app/javascript/mastodon/features/ui/components/report_modal.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/mastodon/features/ui/components/report_modal.js b/app/javascript/mastodon/features/ui/components/report_modal.js
index 90f001319..1962d4ae9 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 && (