Skip to content

Commit

Permalink
feat: set transform 3d on wrapperi for iOS devices
Browse files Browse the repository at this point in the history
fix ios flicker
  • Loading branch information
catboy1006 authored Jun 22, 2023
1 parent a8447b7 commit 90c590d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ swiper-container {
transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
box-sizing: content-box;
}
.swiper-android .swiper-slide,
.swiper-android .swiper-slide, .swiper-ios .swiper-slide,
.swiper-wrapper {
transform: translate3d(0px, 0, 0);
}
Expand Down

0 comments on commit 90c590d

Please sign in to comment.