diff --git a/front/core/components/searchbar/searchbar.js b/front/core/components/searchbar/searchbar.js index 8adc40b67..89b5d7df6 100644 --- a/front/core/components/searchbar/searchbar.js +++ b/front/core/components/searchbar/searchbar.js @@ -251,7 +251,7 @@ export default class Searchbar extends Component { this.model.clear(); if (source != 'state') this.transition = this.$state.go(state, params, opts).transition; - if (source != 'bar') + if (source != 'bar' && (source != 'state' || this.$state.is(this.baseState))) focus(this.element.querySelector('vn-textfield input')); }