mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 13:32:54 +08:00
refactor(tabs): remove tabSubPages UI
The Material Design spec has added “Bottom Navigation”, which is what Ionic calls “Tabs”. Ionic’s MD mode now follows the updated Material Design spec with the tabbar placed on the bottom. Additionally, any tab sub pages do not automatically cover up the tabbar. Covering up the tabbar is still possible by using a modal, however, it is no longer a default feature for MD mode.
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' && !ele.classList.contains('tab-subpage')) {
|
||||
while (ele && ele.tagName !== 'ION-MODAL') {
|
||||
|
||||
if (ele.tagName === 'ION-TABS') {
|
||||
tabbarEle = <HTMLElement>ele.firstElementChild;
|
||||
|
Reference in New Issue
Block a user