mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
refactor(NavController): improve transitions, view stages
This refactor made it so view transitions do no step on one another when a new transition happens during an active transition.
This commit is contained in:
@@ -315,7 +315,7 @@ class AlertCmp {
|
||||
|
||||
if (this.d.message) {
|
||||
this.descId = this.msgId;
|
||||
|
||||
|
||||
} else if (this.d.subTitle) {
|
||||
this.descId = this.subHdrId;
|
||||
}
|
||||
@@ -379,7 +379,7 @@ class AlertCmp {
|
||||
if (activeElement) {
|
||||
activeElement.blur();
|
||||
}
|
||||
|
||||
|
||||
if (this.d.inputs.length) {
|
||||
let firstInput = this._elementRef.nativeElement.querySelector('input');
|
||||
if (firstInput) {
|
||||
|
||||
Reference in New Issue
Block a user