Skip to content

Commit

Permalink
fix: 修复swipeCell滑动单元格 在h5中会导致列表无法上下滚动 scrollview滚动失效
Browse files Browse the repository at this point in the history
fix #479
  • Loading branch information
三少 committed Mar 21, 2023
1 parent 6b16625 commit c322800
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/vantui/src/swipe-cell/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ function Index(
const onDrag = useCallback(
function (event) {
if (disabled) return
event.preventDefault()
const touchState = touchMove(event)
if (!touchState.direction || touchState.direction === 'vertical') {
return
Expand Down

0 comments on commit c322800

Please sign in to comment.