Skip to content

Commit

Permalink
fix(SwipeCell): resolve can not scroll in iOS scroll-view
Browse files Browse the repository at this point in the history
  • Loading branch information
jarmywang committed Jan 2, 2025
1 parent cdb0381 commit 99b983b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/swipe-cell/swipe-cell.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
class="class {{prefix}}-class {{classPrefix}}"
style="{{_._style([style, customStyle])}}"
data-key="cell"
catch:tap="onTap"
bind:tap="onTap"
bind:touchstart="{{disabled || swipe.startDrag}}"
catch:touchmove="{{skipMove ? '' : disabled || swipe.onDrag}}"
catch:touchend="{{skipMove ? '' : disabled || swipe.endDrag}}"
bind:touchmove="{{skipMove ? '' : disabled || swipe.onDrag}}"
bind:touchend="{{skipMove ? '' : disabled || swipe.endDrag}}"
bind:touchcancel="{{disabled || swipe.endDrag}}"
opened="{{opened}}"
change:opened="{{swipe.onOpenedChange}}"
Expand Down

0 comments on commit 99b983b

Please sign in to comment.