Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0.0 AtModal样式出现小灰块 #410

Closed
xiangxingchen opened this issue Feb 21, 2019 · 2 comments
Closed

2.0.0 AtModal样式出现小灰块 #410

xiangxingchen opened this issue Feb 21, 2019 · 2 comments

Comments

@xiangxingchen
Copy link

问题描述

AtModal出现小灰块
复现步骤
1、引入AtModal
2、点击按钮弹出AtModal

class Index extends Component {
  config = {
    navigationBarTitleText: '首页'
  }
  constructor(props) {
    super(props);
    this.state = {
      isOpened
![weapp](https://user-images.githubusercontent.com/7703235/53146314-b2c86480-35de-11e9-89d4-d8a33489812f.jpg)
: false,
    }
  }
  show = () => {
    this.setState({
      isOpened: true
    })
  }
  render () {
    return (
      <View className='index'>
        <Button onClick={this.show}>+</Button>
        <AtModal isOpened={this.state.isOpened}>
          <AtModalHeader>标题</AtModalHeader>
          <AtModalContent>
            这里是正文内容,欢迎加入京东凹凸实验室
            这里是正文内容,欢迎加入京东凹凸实验室
            这里是正文内容,欢迎加入京东凹凸实验室
          </AtModalContent>
          <AtModalAction> <Button>取消</Button> <Button>确定</Button> </AtModalAction>
        </AtModal>
      </View>
    )
  }
}

export default Index

期望行为

AtModal无灰块
报错信息
webapp
ios手机看不到,安卓可以看到,微信开发者工具可以看到

系统信息

  • Taro 版本 [ v.1.2.12]
  • Taro UI 版本 [ v.2.0.0]
  • 报错平台 [ weapp]
jimczj added a commit that referenced this issue Feb 21, 2019
* 'dev' of github.com:nervjs/taro-ui:
  fix(Modal): 修复 android 机的 小黑点 close #410 close #404
@chinawzc
Copy link

这个问题解决了吗

@SzHeJason
Copy link
Collaborator

升级最新版即可,所有 Close 的 issue 如果带有 commitId 记录 并且 无特别说明都是已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants