mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 09:03:49 -07:00
Fixed: (UI) Ensure autofocus on filter input in Manual Import
Fixes #3905
This commit is contained in:
parent
36f0108617
commit
17db815984
3 changed files with 12 additions and 5 deletions
|
@ -88,14 +88,17 @@ class SelectAlbumModalContent extends Component {
|
|||
}
|
||||
<TextInput
|
||||
className={styles.filterInput}
|
||||
placeholder={translate('FilterPlaceHolder')}
|
||||
placeholder={translate('FilterAlbumPlaceholder')}
|
||||
name="filter"
|
||||
value={filter}
|
||||
autoFocus={true}
|
||||
onChange={this.onFilterChange}
|
||||
/>
|
||||
|
||||
<Scroller className={styles.scroller}>
|
||||
<Scroller
|
||||
className={styles.scroller}
|
||||
autoFocus={false}
|
||||
>
|
||||
{
|
||||
<Table
|
||||
columns={columns}
|
||||
|
|
|
@ -56,14 +56,17 @@ class SelectArtistModalContent extends Component {
|
|||
>
|
||||
<TextInput
|
||||
className={styles.filterInput}
|
||||
placeholder={translate('FilterPlaceHolder')}
|
||||
placeholder={translate('FilterArtistPlaceholder')}
|
||||
name="filter"
|
||||
value={filter}
|
||||
autoFocus={true}
|
||||
onChange={this.onFilterChange}
|
||||
/>
|
||||
|
||||
<Scroller className={styles.scroller}>
|
||||
<Scroller
|
||||
className={styles.scroller}
|
||||
autoFocus={false}
|
||||
>
|
||||
{
|
||||
items.map((item) => {
|
||||
return item.artistName.toLowerCase().includes(filter) ?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue