mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 05:21:52 +08:00
revert(tabs): undo commit that removes tab sub pages
Fix advanced tabs test This reverts https://github.com/driftyco/ionic/commit/743de19ae898e83375b51ef9c376225 c8e63f0ef
This commit is contained in:
@ -524,7 +524,7 @@ export class Content extends Ion {
|
||||
ele = parentEle;
|
||||
let tabbarEle: HTMLElement;
|
||||
|
||||
while (ele && ele.tagName !== 'ION-MODAL') {
|
||||
while (ele && ele.tagName !== 'ION-MODAL' && !ele.classList.contains('tab-subpage')) {
|
||||
|
||||
if (ele.tagName === 'ION-TABS') {
|
||||
tabbarEle = <HTMLElement>ele.firstElementChild;
|
||||
|
Reference in New Issue
Block a user