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

[Popup] Document Click事件监听问题 #1146

Closed
cfool opened this issue Jul 8, 2022 · 4 comments
Closed

[Popup] Document Click事件监听问题 #1146

cfool opened this issue Jul 8, 2022 · 4 comments
Assignees
Labels

Comments

@cfool
Copy link
Contributor

cfool commented Jul 8, 2022

tdesign-vue 版本

0.43.2

重现链接

No response

重现步骤

on(document, 'click', this.handleDocumentClick);

监听document的click事件时,应该在捕获阶段进行监听。

事件监听在冒泡阶段,会由于被点击事件的stopPropatation,而无法触发。引起popup弹窗无法关闭的问题

期望结果

No response

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

github-actions bot commented Jul 8, 2022

👋 @cfool,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@github-actions
Copy link
Contributor

github-actions bot commented Jul 8, 2022

♥️ 有劳 @chaishi @HQ-Lin @Red626 @ikeq 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @cfool

@github-actions
Copy link
Contributor

github-actions bot commented Aug 8, 2022

这个 Issue 被标记为了过时 stale ,因为它已经持续 30 天没有任何活动了。删除 stale 标签或评论,否则将在 7 天内关闭。

@github-actions
Copy link
Contributor

此 Issue 被自动关闭,因为它自被标记为过时 stale 以来已闲置 7 天。

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

No branches or pull requests

3 participants