QoL(PluginSettings): auto focus search bar

This commit is contained in:
Vendicated 2023-01-03 02:37:22 +01:00
parent bcbbc79365
commit 933216fcd5
No known key found for this signature in database
GPG Key ID: A1DC0CFB5615D905

@ -283,7 +283,7 @@ export default ErrorBoundary.wrap(function Settings() {
<ReloadRequiredCard plugins={[...changes.getChanges()]} style={{ marginBottom: 16 }} /> <ReloadRequiredCard plugins={[...changes.getChanges()]} style={{ marginBottom: 16 }} />
<div className={cl("filter-controls")}> <div className={cl("filter-controls")}>
<TextInput value={searchValue.value} placeholder="Search for a plugin..." onChange={onSearch} style={{ marginBottom: 24 }} /> <TextInput autoFocus value={searchValue.value} placeholder="Search for a plugin..." onChange={onSearch} style={{ marginBottom: 24 }} />
<div className={InputStyles.inputWrapper}> <div className={InputStyles.inputWrapper}>
<Select <Select
className={InputStyles.inputDefault} className={InputStyles.inputDefault}