Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(tabs): fixes background flicker in iOS Safari
Browse files Browse the repository at this point in the history
closes #6290

Closes #7076
  • Loading branch information
Robert Messerle authored and ThomasBurleson committed Feb 15, 2016
1 parent f9f893a commit 1d8fc16
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/tabs/tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ md-tabs {
md-tabs-wrapper {
display: block;
position: relative;
// transform is needed for iOS Safari to prevent content from disappearing on scroll
transform: translate3d(0, 0, 0);
md-prev-button, md-next-button {
height: 100%;
width: $tabs-paginator-width;
Expand Down Expand Up @@ -187,6 +189,8 @@ md-tab-content {
bottom: 0;
transition: transform $swift-ease-in-out-duration $swift-ease-in-out-timing-function;
overflow: auto;
// transform is needed for iOS Safari to prevent content from disappearing on scroll
transform: translate3d(0, 0, 0);
&.md-no-scroll {
bottom: auto;
overflow: hidden;
Expand Down

0 comments on commit 1d8fc16

Please sign in to comment.