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

Collapse CollapseItem 被点击时可能无法关闭 #403

Closed
1 of 7 tasks
1019058432 opened this issue Nov 17, 2022 · 1 comment · Fixed by #412, #423, #424, #431 or #432
Closed
1 of 7 tasks

Collapse CollapseItem 被点击时可能无法关闭 #403

1019058432 opened this issue Nov 17, 2022 · 1 comment · Fixed by #412, #423, #424, #431 or #432

Comments

@1019058432
Copy link

1019058432 commented Nov 17, 2022

这个 Issue 涉及以下平台:

  • 微信小程序
  • 支付宝小程序
  • 百度小程序
  • 头条小程序
  • 快手小程序
  • QQ 轻应用
  • Web 平台(H5)

BUG 描述
CollapseItem 被点击时可能无法关闭,或者关闭(打开)上一次点击的折叠项
复现步骤
重复点击某一折叠项或多个折叠项交替点击
期望结果
能正常关闭及展开,不会触发其它选项的展开或关闭(手风琴模式除外)
实际结果
CollapseItem 被点击时可能无法关闭,或者关闭(打开)上一次点击的折叠项
截图

环境
taro v3.5.1
@antmjs/vantui v2.2.8
附加信息

@hcw2175
Copy link

hcw2175 commented Nov 17, 2022

的确有问题。官网基础例子就是这样。

具体表现:

非手风琴模式,将全部CollapseItem点击展开后,再去点击某个CollapseItem,可能无法再收起,而且永远无法全部收起。

hisanshao pushed a commit that referenced this issue Nov 25, 2022
* fix: collapse组件重构修复,保留原有api(#403)

* feat: form组件新增onChange方法(#406)

* feat: 新增waterMark组件

* feat: stepper组件新增adjustPosition属性,默认开启

* fix: alipay下的canvas获取

* style: z-index统一

Co-authored-by: kongjing@dian.so <apple@AppledeMacBook-Pro-2.local>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment