File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -530,14 +530,14 @@ export class Content extends Ion {
530
530
newVal = this . _footerHeight + this . _paddingBottom ;
531
531
if ( this . _tabbarPlacement === 'bottom' ) {
532
532
newVal += this . _tabbarHeight ;
533
+
534
+ if ( newVal > 0 && this . _footerEle ) {
535
+ this . _footerEle . style . bottom = ( newVal - this . _footerHeight - this . _paddingBottom ) + 'px' ;
536
+ }
533
537
}
534
538
if ( newVal !== this . adjustedBottom ) {
535
539
scrollEle . style . paddingBottom = ( newVal > 0 ? newVal + 'px' : '' ) ;
536
540
this . adjustedBottom = newVal ;
537
-
538
- if ( newVal > 0 && this . _footerEle ) {
539
- this . _footerEle . style . bottom = ( newVal - this . _footerHeight ) + 'px' ;
540
- }
541
541
}
542
542
543
543
} else {
Original file line number Diff line number Diff line change 28
28
< ion-toolbar class ="opaque ">
29
29
< ion-title > Footer</ ion-title >
30
30
</ ion-toolbar >
31
+ < ion-toolbar class ="opaque ">
32
+ < ion-title > Footer 2</ ion-title >
33
+ </ ion-toolbar >
31
34
</ ion-footer >
32
35
33
36
< style >
Original file line number Diff line number Diff line change 28
28
< ion-toolbar class ="opaque ">
29
29
< ion-title > Footer</ ion-title >
30
30
</ ion-toolbar >
31
+ < ion-toolbar class ="opaque ">
32
+ < ion-title > Footer 2</ ion-title >
33
+ </ ion-toolbar >
31
34
</ ion-footer >
32
35
33
36
< style >
You can’t perform that action at this time.
0 commit comments