Merge pull request #5921 from matrix-org/t3chguy/fix/17063

Autofocus search box in the add existing to space dialog
This commit is contained in:
Michael Telatynski 2021-04-26 18:24:14 +01:00 committed by GitHub
commit 0d538c490a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ? (