jd-opensource / jd-opensource/taro-ui

AtActionSheet等含有遮罩层的组件,在非常长的页面里,不居中在视图中间,而是在页面中间

Open
#872 2 comments 0 reactions 1 assignee Claimed by @AwesomeDevin View on GitHub
Dominant language
TypeScript
Stars
4.7k
Forks
740
PR merge metrics
No merged PRs in 30d

Description

### Taro UI 版本信息

2.2.4

### 问题描述

AtActionSheet等含有遮罩层的组件,在非常长的页面里,不居中在视图中间,而是在页面中间,导致AtActionSheetItem在页面最底部,点击不了。AtModal组件也有这个问题

### 复现步骤

1、写一个height为9999px的容器
2、添加一个AtActionSheet组件
3、AtActionSheet isOpened属性设为true

### 复现代码

```



微信支付


银联支付



```

### 报错信息

没有报错

### 系统信息

Taro v1.3.12

Taro CLI 1.3.12 environment info:
System:
OS: macOS 10.15.1
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.16.0 - /usr/local/bin/node
Yarn: 1.17.3 - /usr/local/bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
npmPackages:
@tarojs/async-await: 1.3.12 => 1.3.12
@tarojs/components: 1.3.12 => 1.3.12
@tarojs/plugin-babel: 1.3.12 => 1.3.12
@tarojs/plugin-csso: 1.3.12 => 1.3.12
@tarojs/plugin-sass: 1.3.12 => 1.3.12
@tarojs/plugin-uglifyjs: 1.3.12 => 1.3.12
@tarojs/redux: 1.3.12 => 1.3.12
@tarojs/redux-h5: 1.3.12 => 1.3.12
@tarojs/router: 1.3.12 => 1.3.12
@tarojs/taro: 1.3.12 => 1.3.12
@tarojs/taro-alipay: 1.3.12 => 1.3.12
@tarojs/taro-h5: 1.3.12 => 1.3.12
@tarojs/taro-swan: 1.3.12 => 1.3.12
@tarojs/taro-tt: 1.3.12 => 1.3.12
@tarojs/taro-weapp: 1.3.12 => 1.3.12
@tarojs/webpack-runner: 1.3.12 => 1.3.12
eslint-config-taro: 1.3.12 => 1.3.12
eslint-plugin-taro: 1.3.12 => 1.3.12
nerv-devtools: ^1.4.0 => 1.4.3
nervjs: ^1.4.0 => 1.4.3
stylelint-config-taro-rn: 1.3.12 => 1.3.12
stylelint-taro-rn: 1.3.12 => 1.3.12

### 补充信息

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.