fix(Picker): fix rendering failure during animation on safari (#7460)

This commit is contained in:
neverland 2020-10-31 16:34:55 +08:00 committed by GitHub
parent 2bd597ecfd
commit 836be2c639
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,7 +87,8 @@
linear-gradient(0deg, hsla(0, 0%, 100%, 0.9), hsla(0, 0%, 100%, 0.4));
background-repeat: no-repeat;
background-position: top, bottom;
backface-visibility: hidden;
// fix rendering failure during animation on safari
transform: translateZ(0);
pointer-events: none;
}