From 6ef04214a0f73a525b5717cb657a82fa54dc1444 Mon Sep 17 00:00:00 2001 From: jarmywang Date: Thu, 2 Jan 2025 17:27:07 +0800 Subject: [PATCH] fix(SwipeCell): resolve can not scroll in iOS scroll-view (#3425) --- src/swipe-cell/swipe-cell.wxml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/swipe-cell/swipe-cell.wxml b/src/swipe-cell/swipe-cell.wxml index fbc76ece3..fefbed02c 100644 --- a/src/swipe-cell/swipe-cell.wxml +++ b/src/swipe-cell/swipe-cell.wxml @@ -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}}"