mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(searchbar): clicking cancel wasn't removing the left alignment
This commit is contained in:
@ -24,6 +24,7 @@ import {Icon} from '../icon/icon';
|
||||
this.element = this.elementRef.nativeElement.querySelector('input');
|
||||
this.element.blur();
|
||||
this.clearInput();
|
||||
this.shouldLeftAlign = false;
|
||||
}
|
||||
},
|
||||
host: {
|
||||
|
Reference in New Issue
Block a user