Autofocus search box in the add existing to space dialog

pull/21833/head
Michael Telatynski 2021-04-26 11:24:28 +01:00
parent dda18c9384
commit 9319dd5400
1 changed files with 1 additions and 0 deletions

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