fix(Swipe): overflow lose efficacy in iOS safari (#9933)

* fix(Swipe): issue #9931 `overflow` lose efficacy in  ios/safari

* Update index.less

Co-authored-by: neverland <chenjiahan@buaa.edu.cn>
This commit is contained in:
chenjiangui 2021-11-25 09:53:40 +08:00 committed by GitHub
parent cb6c10cd32
commit 2890b77604
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,8 @@
.van-swipe {
position: relative;
overflow: hidden;
// https://github.com/youzan/vant/issues/9931
transform: translateZ(0);
cursor: grab;
user-select: none;