You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-06-23 05:41:39 +03:00
Merge pull request #911 from matrix-org/t3chguy/autofocus_directorysearchbox
autoFocus input box
This commit is contained in:
@ -93,7 +93,7 @@ export default class DirectorySearchBox extends React.Component {
|
|||||||
className="mx_DirectorySearchBox_input"
|
className="mx_DirectorySearchBox_input"
|
||||||
ref={this._collectInput}
|
ref={this._collectInput}
|
||||||
onChange={this._onChange} onKeyUp={this._onKeyUp}
|
onChange={this._onChange} onKeyUp={this._onKeyUp}
|
||||||
placeholder={this.props.placeholder}
|
placeholder={this.props.placeholder} autoFocus
|
||||||
/>
|
/>
|
||||||
{join_button}
|
{join_button}
|
||||||
<span className="mx_DirectorySearchBox_clear_wrapper">
|
<span className="mx_DirectorySearchBox_clear_wrapper">
|
||||||
|
Reference in New Issue
Block a user