2462 - Prevent searchbarfocus on 'state' source
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
38351cd331
commit
38df5a4d83
|
@ -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'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue