fix(Collapse): fix safari rendering issues (#8788)

This commit is contained in:
neverland 2021-06-01 09:36:03 +08:00 committed by GitHub
parent 71b16941c6
commit 38856e2e1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,9 @@
&__title {
.van-cell__right-icon::before {
transform: rotate(90deg);
// using translateZ to fix safari rendering issues
// see: https://github.com/youzan/vant/issues/8608
transform: rotate(90deg) translateZ(0);
transition: transform @collapse-item-transition-duration;
}