[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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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