mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
[Improvement] Swipe: not swipeable when page scrolling (#1425)
This commit is contained in:
@@ -177,9 +177,8 @@ export default create({
|
||||
) {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
this.move(0, Math.min(Math.max(this.delta, -this.size), this.size));
|
||||
}
|
||||
|
||||
this.move(0, Math.min(Math.max(this.delta, -this.size), this.size));
|
||||
},
|
||||
|
||||
onTouchEnd() {
|
||||
|
Reference in New Issue
Block a user