Skip to content

Commit

Permalink
fix(toggle): fix box-shadow overflow in toggle (#15955)
Browse files Browse the repository at this point in the history
Closes #14626
  • Loading branch information
mhartington authored and adamdbradley committed Oct 23, 2018
1 parent a0c60ff commit 8a4dc74
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/components/toggle/toggle.ios.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
width: 100%;
height: 100%;

// Needed to prevent visual glitch in safari/iOS
// See https://github.com/ionic-team/ionic/issues/14626
transform: translate3d(0,0,0);

transition: background-color $toggle-ios-transition-duration;

background-color: $toggle-ios-border-color-off;
Expand Down

0 comments on commit 8a4dc74

Please sign in to comment.