fix(scroll): fix scrolling after switching tabs

Closes #7154
This commit is contained in:
Adam Bradley
2016-07-01 20:13:49 -05:00
parent f02b6eae9a
commit e4bbcc667a
2 changed files with 5 additions and 2 deletions

View File

@ -72,8 +72,12 @@ ion-tab scroll-cotent {
display: none;
}
ion-tab {
transform: translateY(-200%);
}
ion-tab.show-tab {
z-index: $z-index-selected-tab;
transform: translateY(0);
}
ion-tab.show-tab scroll-cotent {

View File

@ -13,7 +13,6 @@ $z-index-scroll-content: 1;
$z-index-refresher: 0;
$z-index-page-container: 0;
$z-index-selected-tab: 1;
$z-index-toolbar: 10;
$z-index-toolbar-background: -1;