Automatically focus on the invite dialog input

Fixes https://github.com/vector-im/riot-web/issues/12070
pull/21833/head
Travis Ralston 2020-01-29 11:01:00 +00:00
parent 2c973f7467
commit 610354220e
1 changed files with 1 additions and 0 deletions

View File

@ -937,6 +937,7 @@ export default class InviteDialog extends React.PureComponent {
value={this.state.filterText} value={this.state.filterText}
ref={this._editorRef} ref={this._editorRef}
onPaste={this._onPaste} onPaste={this._onPaste}
autoFocus={true}
/> />
); );
return ( return (