mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 02:16:12 +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);
|
this.touchMove(event);
|
||||||
|
|
||||||
if (this.direction === 'horizontal') {
|
if (this.direction === 'horizontal') {
|
||||||
preventDefault(event);
|
preventDefault(event, true);
|
||||||
this.swipeMove(this.deltaX + this.startOffset);
|
this.swipeMove(this.deltaX + this.startOffset);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user