Autofocus comment textarea in report modal (#8689)

master
ThibG 6 years ago committed by Eugen Rochko
parent 7fa4144d48
commit 661a89ea74
  1. 1
      app/javascript/mastodon/features/ui/components/report_modal.js

@ -106,6 +106,7 @@ export default class ReportModal extends ImmutablePureComponent {
onChange={this.handleCommentChange} onChange={this.handleCommentChange}
onKeyDown={this.handleKeyDown} onKeyDown={this.handleKeyDown}
disabled={isSubmitting} disabled={isSubmitting}
autoFocus
/> />
{domain && ( {domain && (

Loading…
Cancel
Save