jd-opensource / jd-opensource/taro-ui

taro-ui 的 AtFloatLayout 然后子元素为 textarea,在安卓下外层页面滚动 textarea 也跟着滚的

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

Description

**问题描述**

taro-ui 的 AtFloatLayout 然后子元素为 textarea,在安卓下外层页面滚动 textarea 也跟着滚的

**复现步骤**

```js







```

```css
.test {
height: 3000px;
}
```

**期望行为**
外层元素滚动不影响 textarea 文字

**报错信息**
![image](https://user-images.githubusercontent.com/15046405/87032531-5b4c8800-c217-11ea-9c2f-4dc136559153.png)
![image](https://user-images.githubusercontent.com/15046405/87032545-5ee00f00-c217-11ea-91af-75db840e1096.png)
![image](https://user-images.githubusercontent.com/15046405/87032554-61426900-c217-11ea-965c-3777ef7c94e4.png)

**系统信息**
👽 Taro v3.0.2

Taro CLI 3.0.2 environment info:
System:
OS: macOS 10.15.5
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 13.13.0 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.4 - /usr/local/bin/npm
npmPackages:
@tarojs/components: 3.0.2 => 3.0.2
@tarojs/mini-runner: 3.0.2 => 3.0.2
@tarojs/react: 3.0.2 => 3.0.2
@tarojs/runtime: 3.0.2 => 3.0.2
@tarojs/taro: 3.0.2 => 3.0.2
@tarojs/webpack-runner: 3.0.2 => 3.0.2
babel-preset-taro: 3.0.2 => 3.0.2
eslint-config-taro: 3.0.2 => 3.0.2
react: ^16.10.0 => 16.13.1
taro-ui: 3.0.0-alpha.3 => 3.0.0-alpha.3
npmGlobalPackages:
typescript: 3.8.3

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.