Autofocus comment textarea in report modal

master
Thibaut Girka 6 years ago committed by ThibG
parent b3c698d6f4
commit 1cb3af21c5
  1. 1
      app/javascript/flavours/glitch/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