1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

Automatically focus on the invite dialog input

Fixes https://github.com/vector-im/riot-web/issues/12070
This commit is contained in:
Travis Ralston
2020-01-29 11:01:00 +00:00
parent 2c973f7467
commit 610354220e

View File

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