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:
@@ -153,7 +153,9 @@ export class Tab extends NavController {
|
||||
*/
|
||||
load(opts, done?: Function) {
|
||||
if (!this._loaded && this.root) {
|
||||
this.push(this.root, null, opts, done);
|
||||
this.push(this.root, null, opts).then(() => {
|
||||
done();
|
||||
});
|
||||
this._loaded = true;
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user