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

[Select] Select组件监听事件未Remove #1170

Closed
cfool opened this issue Jul 13, 2022 · 3 comments
Closed

[Select] Select组件监听事件未Remove #1170

cfool opened this issue Jul 13, 2022 · 3 comments
Assignees
Labels
🐞 bug Something isn't working to be published fixed, not be published

Comments

@cfool
Copy link
Contributor

cfool commented Jul 13, 2022

tdesign-vue 版本

0.43.2

重现链接

No response

重现步骤

https://codesandbox.io/s/tdesign-vue-demo-forked-dpepdl?file=/src/demo.vue
1、点击select组件,选择“架构云”之外的其他选项
2、在textarea中进行输入enter。

期望结果

能够正常输入

实际结果

textarea中无法输入enter。

Select组件在下拉框弹出时,给document添加了事件监听。

在部分情况下,Select组件直接被destroy时,未触发visible=false的remove listener流程。 导致事件一直被监听。 其中keydownEvent由于preventDefault,导致键盘enter失效。

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

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

@github-actions
Copy link
Contributor

♥️ 有劳 @geff1991 @skytt @uyarn 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @cfool

@xiaosansiji
Copy link
Collaborator

fixed in 0.44.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working to be published fixed, not be published
Projects
None yet
Development

No branches or pull requests

3 participants