perf(segment): improve scrolling performance on ios when using segment (#22110)

resolves #22095
This commit is contained in:
Liam DeBeasi
2020-09-21 15:39:09 -04:00
committed by GitHub
parent ec9e0a2ee7
commit 68afc49e9e
3 changed files with 4 additions and 8 deletions

View File

@ -38,7 +38,7 @@
min-height: #{$segment-button-ios-min-height};
// Necessary for the z-index to work properly
transform: translate3d(0, 0, 0);
transform: translate(0, 0);
font-size: #{$segment-button-ios-font-size};
@ -62,8 +62,6 @@
content: "";
opacity: 1;
will-change: opacity;
}
:host(:first-of-type)::before {