[improvement] SwipeCell: should stop event propagation (#3898)

This commit is contained in:
neverland
2019-07-19 10:15:23 +08:00
committed by GitHub
parent dc0fba3be3
commit 0d68c628ca

View File

@@ -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);
}
},