Merge pull request #911 from matrix-org/t3chguy/autofocus_directorysearchbox

autoFocus input box
This commit is contained in:
David Baker 2017-05-23 09:57:20 +01:00 committed by GitHub
commit 6d30bc7182

View file

@ -93,7 +93,7 @@ export default class DirectorySearchBox extends React.Component {
className="mx_DirectorySearchBox_input"
ref={this._collectInput}
onChange={this._onChange} onKeyUp={this._onKeyUp}
placeholder={this.props.placeholder}
placeholder={this.props.placeholder} autoFocus
/>
{join_button}
<span className="mx_DirectorySearchBox_clear_wrapper">