Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5921 from matrix-org/t3chguy/fix/17063
Browse files Browse the repository at this point in the history
Autofocus search box in the add existing to space dialog
  • Loading branch information
t3chguy authored Apr 26, 2021
2 parents e675448 + 9319dd5 commit 0d538c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/views/dialogs/AddExistingToSpaceDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ const AddExistingToSpaceDialog: React.FC<IProps> = ({ matrixClient: cli, space,
placeholder={ _t("Filter your rooms and spaces") }
onSearch={setQuery}
autoComplete={true}
autoFocus={true}
/>
<AutoHideScrollbar className="mx_AddExistingToSpaceDialog_content" id="mx_AddExistingToSpaceDialog">
{ rooms.length > 0 ? (
Expand Down

0 comments on commit 0d538c4

Please sign in to comment.