jd-opensource / jd-opensource/taro-ui

滚动穿透 bug

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

Description

**问题描述**

# 滚动穿透 bug

https://github.com/NervJS/taro-ui/blob/dev/src/components/float-layout/index.tsx#L83

`onTouchMove` 无法阻止弹框下面的页面内容滚动 bug

**复现步骤**

```js
// 这里可以贴代码

private handleTouchMove = (e: CommonEvent): void => {
e.preventDefault()
e.stopPropagation()
return;
}

```

**期望行为**

**报错信息**

**系统信息**

**补充信息**

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.