Autofocus search box in the add existing to space dialog

This commit is contained in:
Michael Telatynski 2021-04-26 11:24:28 +01:00
parent dda18c9384
commit 9319dd5400

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