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

Modal.list和Popup.custom同时使用会出现弹框2次的现象 #51

Open
Oliverzzq opened this issue Mar 10, 2021 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@Oliverzzq
Copy link

组件

组件名称
Modal
Popup

版本

  • 组件版本:@tuya-rn/tuya-native-components": "3.6.0"
  • react 版本:16.0.0
  • react-native 版本:0.51.0

概述

Bug 问题概述

重现步骤

  1. 点击Modal.list显示的其中一个选项
  2. 在onSelect里,通过setState把Modal.list的visible改为false。并且调用Popup.custom

Bug 行为

Bug 的表现行为
Popup.custom的弹框弹了2次

期望行为

组件的正确行为
Popup.custom的弹框只弹1次

期望发布日期

期望 bug 解决后发布的正式版本号或日期
期望尽快解决。。

附件

附上图片或日志

video.MP4
@ShinyLeee ShinyLeee self-assigned this May 24, 2021
@ShinyLeee ShinyLeee added the bug Something isn't working label May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants