mirror of
https://github.com/youzan/vant.git
synced 2026-01-28 01:10:04 +08:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user