mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-02-02 13:02:27 +01:00
Fixed: (UI) Prevent search results clearing when using header search with enter key
This commit is contained in:
parent
6769055b6b
commit
062fd77e1b
1 changed files with 3 additions and 2 deletions
|
|
@ -55,7 +55,9 @@ class SearchFooter extends Component {
|
|||
this.onSearchPress();
|
||||
}
|
||||
|
||||
this.props.bindShortcut('enter', this.onSearchPress, { isGlobal: true });
|
||||
setTimeout(() => {
|
||||
this.props.bindShortcut('enter', this.onSearchPress, { isGlobal: true });
|
||||
});
|
||||
}
|
||||
|
||||
componentDidUpdate(prevProps) {
|
||||
|
|
@ -120,7 +122,6 @@ class SearchFooter extends Component {
|
|||
};
|
||||
|
||||
onSearchPress = () => {
|
||||
|
||||
const {
|
||||
searchLimit,
|
||||
searchOffset,
|
||||
|
|
|
|||
Loading…
Reference in a new issue