fix(toggle): fix box-shadow overflow in toggle (#15955)

Closes #14626
This commit is contained in:
Mike Hartington
2018-10-22 21:48:54 -04:00
committed by Adam Bradley
parent a0c60ffd1e
commit 8a4dc74324

View File

@ -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;