Tencent / Tencent/tdesign-miniprogram

[Drawer] 经由Drawer的click事件进入其他页面,再退回时有几率出现overlay不能关闭

Open
#1,278 5 comments 0 reactions 1 assignee View on GitHub

@anlyyao is already working on this.

Since Dec 26, 2022.

🏃 in progress good first issue
Dominant language
Vue
Stars
1.8k
Forks
337
Avg merge
1d 21h
Merged PRs (30d)
19

Description

tdesign-miniprogram 版本

0.31

重现链接

No response

重现步骤
  1. 首页实现 drawer的 item-click事件
  2. 事件中将drawer关闭,并用wx.navigateTo 到其他页面
  3. 在其他页面点击回退到首页
  4. 重复执行多次 2~3,
期望结果

退回首页时, 抽屉和遮罩层都应该关闭掉。

实际结果

回退首页时,发现抽屉已经关闭,但是 overlay层还在, 点击页面没有任何响应。 drawer 有响应。

0.30, 0.31版本都存在该问题。

该bug需要来回执行,才有一定几率会重现。

框架版本

MiniProgram

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.