mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
perf(segment): improve scrolling performance on ios when using segment (#22110)
resolves #22095
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user