Fixed: (UI) Prevent search results clearing when using header search with enter key

pull/1759/head
Bogdan 1 year ago
parent 6769055b6b
commit 062fd77e1b

@ -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…
Cancel
Save