mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[improvement] SwipeCell: should stop event propagation (#3898)
This commit is contained in:
parent
dc0fba3be3
commit
0d68c628ca
@ -121,7 +121,7 @@ export default createComponent({
|
||||
this.touchMove(event);
|
||||
|
||||
if (this.direction === 'horizontal') {
|
||||
preventDefault(event);
|
||||
preventDefault(event, true);
|
||||
this.swipeMove(this.deltaX + this.startOffset);
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user