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

Support tabbing and changing focus to a select component #380

Closed
wants to merge 1 commit into from

Conversation

ztplz
Copy link
Contributor

@ztplz ztplz commented Feb 17, 2019

@ant-design-bot
Copy link

Deploy preview for rc-select failed.

Built with commit 84a8325

https://app.netlify.com/sites/rc-select/deploys/5c69a4aa49cd4d0007d21109

@ztplz
Copy link
Contributor Author

ztplz commented Feb 17, 2019

@afc163 @zombieJ tslint 那个private public顺序改一下

@zombieJ
Copy link
Member

zombieJ commented Feb 18, 2019

ant-design/ant-design#14503 里的 Select,其实是可以通过 focus 后按 下/Enter 键打开后输入的。修的话应该是 focus 后按任意键都打开 dropdown 并且在 input 里输入刚才键入的字符。

@ztplz
Copy link
Contributor Author

ztplz commented Feb 18, 2019

是可以通过enter建输入 我也不知道算不算bug 但是我看他意思是tab到select后 focus并可以输入

@zombieJ
Copy link
Member

zombieJ commented Feb 18, 2019

这不算是 BUG,应该算是需要优化的点。否则不够直观。

@bryanberger
Copy link

any movement on this? also tabFoucs should be spelled as tabFocus

@JonathanLee-LX
Copy link

这个地方还是建议能优化一下,因为经常会有一些通过全局快捷键打开搜索框的需求,现在在使用focus方法聚焦之后,要进行搜索还需要按一下enter键。 @zombieJ

@zombieJ
Copy link
Member

zombieJ commented Aug 14, 2019

@JonathanLee-LX antd@4.0 / rc-select@10.0 中会配合无障碍对此进行优化。

@fgiarritiello
Copy link

Can this be merged please?

@zombieJ
Copy link
Member

zombieJ commented Sep 17, 2019

@fgiarritiello, already support in new rc-select.

@zombieJ zombieJ closed this Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants