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] focus触发机制有问题 #577

Closed
scope9Ri opened this issue Mar 16, 2022 · 6 comments
Closed

[Select] focus触发机制有问题 #577

scope9Ri opened this issue Mar 16, 2022 · 6 comments
Labels
to be published fixed, not be published

Comments

@scope9Ri
Copy link

tdesign-vue 版本

0.37.0-alpha.9

重现链接

https://codesandbox.io/s/tdesign-vue-demo-forked-5uqdxn

重现步骤

无选中项时点击Select 没有触发focus事件

期望结果

No response

实际结果

No response

框架版本

Vue2

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

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

@github-actions
Copy link
Contributor

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

@YikaJ
Copy link
Contributor

YikaJ commented Mar 17, 2022

image

readonly 导致 focus 事件被提前 return

@YikaJ
Copy link
Contributor

YikaJ commented Mar 17, 2022

#580 与这个其实是同一个问题

@YikaJ
Copy link
Contributor

YikaJ commented Mar 17, 2022

Select 下会先触发内部的 input focus,但是 select 的 visible 仍然为 false。导致最后 focus 被提前 return 了。

@uyarn uyarn added the to be published fixed, not be published label Mar 17, 2022
@uyarn
Copy link
Collaborator

uyarn commented Mar 18, 2022

已在0.37.2中修复。

@uyarn uyarn closed this as completed Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to be published fixed, not be published
Projects
None yet
Development

No branches or pull requests

3 participants