File tree Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,6 @@ class ToolbarBackground {
107
107
'</div>' ,
108
108
host : {
109
109
'[hidden]' : '_hidden' ,
110
- '[class.show-tab-navbar]' : '_showNavbar' ,
111
110
'class' : 'toolbar'
112
111
} ,
113
112
directives : [ BackButton , BackButtonText , Icon , ToolbarBackground ]
@@ -119,7 +118,6 @@ export class Navbar extends ToolbarBase {
119
118
private _bbRef : ElementRef ;
120
119
private _bbtRef : ElementRef ;
121
120
private _bgRef : ElementRef ;
122
- private _showNavbar : boolean ;
123
121
124
122
/**
125
123
* @private
@@ -217,11 +215,6 @@ export class Navbar extends ToolbarBase {
217
215
setHidden ( isHidden : boolean ) {
218
216
// used to display none/block the navbar
219
217
this . _hidden = isHidden ;
220
-
221
- // on the very first load, the navbar may load quicker than
222
- // the tab content, which looks weird. This makes sure that
223
- // the tab's navbar doesn't show before the tab has fully loaded
224
- this . _showNavbar = ! isHidden ;
225
218
}
226
219
227
220
}
Original file line number Diff line number Diff line change @@ -38,16 +38,6 @@ ion-tabs > ion-navbar-section {
38
38
order : $flex-order-tabbar-navbar ;
39
39
}
40
40
41
- ion-tabs > ion-navbar-section ion-navbar .toolbar.show-navbar {
42
- // by default, do not show tab navbars when they render
43
- opacity : 0 ;
44
- }
45
-
46
- ion-tabs > ion-navbar-section ion-navbar .toolbar.show-navbar.show-tab-navbar {
47
- // only when the tab content has loaded should it be rendered
48
- opacity : 1 ;
49
- }
50
-
51
41
ion-tabbar-section {
52
42
position : relative ;
53
43
order : $flex-order-tabbar-bottom ;
You can’t perform that action at this time.
0 commit comments