Skip to content

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

@Oliverzzq

Description

@Oliverzzq

组件

组件名称
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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions