jd-opensource / jd-opensource/taro-ui

swipeActipn组件为什么在新版本中使用了MovableView,导致h5项目中报错

Open
#1,408 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.7k
Forks
740
PR merge metrics
No merged PRs in 30d

Description

**问题描述**
在旧的taroui版本中,swipeAction组件没有使用MovableView,在h5端可以使用。但是更新最新版后,SwipeAction组件使用了MovableView,导致在h5上无法使用SwipeAction。

**复现步骤**

```jsx

{ /* ... */}

```

**期望行为**

左滑有删除操作的按钮

**报错信息**

报错: H5 暂不支持 MovableArea 组件!

**系统信息**

"taro-ui": "^3.0.0-alpha.10"

**补充信息**
在之前的版本的taroUI中没有使用MovableView,新的版本中用了,导致h5中SwipeAction失效

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.