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

级联控件获焦与键盘事件 #4411

Closed
tongsenSept opened this issue Dec 29, 2016 · 6 comments · Fixed by react-component/cascader#18
Closed

级联控件获焦与键盘事件 #4411

tongsenSept opened this issue Dec 29, 2016 · 6 comments · Fixed by react-component/cascader#18
Assignees

Comments

@tongsenSept
Copy link

Cascader控件在点击时没有自动聚焦,且未像其它表单控件一样,提供键盘事件支持。

发生问题的环境:
ant :"1.10.0"
操作系统:Win7 64位旗舰版
浏览器版本 :chrome 55.0.2883.87 m

做了什么:

从ant中引入Cascader组件,演示demo实例时,点击弹出,并未自动聚焦,但点击边线弹出时可以获焦

期待的结果:
希望可以如官网一般正常显示,且现在基于业务需求,需要提供键盘事件支持,发现组件外部操作困难,能否告知解决途径

@benjycui
Copy link
Contributor

你说的是哪个 demo..

@tongsenSept
Copy link
Author

所有都是,但codepen上难以重现,目前正在查找原因,主要是键盘事件时遇到的问题,不知外部是否可实现键盘事件这个需求?

@benjycui
Copy link
Contributor

benjycui commented Jan 3, 2017

所有都是

我不觉得有问题,麻烦指明那个 demo 和重现步骤。

@afc163
Copy link
Member

afc163 commented Jan 7, 2017

  1. 聚焦的问题请升级到 1.11.4 或 2.x。
  2. 键盘事件确实尚未支持,working on it.

@RobertM574
Copy link

希望添加,级联可多选

@lock
Copy link

lock bot commented Jun 21, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants