Skip to content

Commit

Permalink
fix(scroll): fix scrolling after switching tabs
Browse files Browse the repository at this point in the history
Closes #7154
  • Loading branch information
adamdbradley committed Jul 2, 2016
1 parent f02b6ea commit e4bbcc6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/components/app/structure.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 0 additions & 1 deletion src/components/app/z-index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit e4bbcc6

Please sign in to comment.