mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 05:21:52 +08:00
fix(nav): ion-nav inside ion-content work properly
This commit is contained in:
@ -173,8 +173,8 @@ export class Content extends Ion {
|
||||
this._sbPadding = config.getBoolean('statusbarPadding', false);
|
||||
|
||||
if (viewCtrl) {
|
||||
viewCtrl._setContent(this);
|
||||
viewCtrl._setContentRef(elementRef);
|
||||
viewCtrl._setIONContent(this);
|
||||
viewCtrl._setIONContentRef(elementRef);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user