{"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/3587","repository_url":"https://api.github.com/repos/ant-design/ant-design","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/3587/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/3587/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/3587/events","html_url":"https://github.com/ant-design/ant-design/issues/3587","id":185130128,"number":3587,"title":"Select中的onFocus事件没有执行","user":{"login":"ptlinyi","id":10378951,"avatar_url":"https://avatars.githubusercontent.com/u/10378951?v=3","gravatar_id":"","url":"https://api.github.com/users/ptlinyi","html_url":"https://github.com/ptlinyi","followers_url":"https://api.github.com/users/ptlinyi/followers","following_url":"https://api.github.com/users/ptlinyi/following{/other_user}","gists_url":"https://api.github.com/users/ptlinyi/gists{/gist_id}","starred_url":"https://api.github.com/users/ptlinyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptlinyi/subscriptions","organizations_url":"https://api.github.com/users/ptlinyi/orgs","repos_url":"https://api.github.com/users/ptlinyi/repos","events_url":"https://api.github.com/users/ptlinyi/events{/privacy}","received_events_url":"https://api.github.com/users/ptlinyi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"RaoHai","id":566097,"avatar_url":"https://avatars.githubusercontent.com/u/566097?v=3","gravatar_id":"","url":"https://api.github.com/users/RaoHai","html_url":"https://github.com/RaoHai","followers_url":"https://api.github.com/users/RaoHai/followers","following_url":"https://api.github.com/users/RaoHai/following{/other_user}","gists_url":"https://api.github.com/users/RaoHai/gists{/gist_id}","starred_url":"https://api.github.com/users/RaoHai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaoHai/subscriptions","organizations_url":"https://api.github.com/users/RaoHai/orgs","repos_url":"https://api.github.com/users/RaoHai/repos","events_url":"https://api.github.com/users/RaoHai/events{/privacy}","received_events_url":"https://api.github.com/users/RaoHai/received_events","type":"User","site_admin":false},"assignees":[{"login":"RaoHai","id":566097,"avatar_url":"https://avatars.githubusercontent.com/u/566097?v=3","gravatar_id":"","url":"https://api.github.com/users/RaoHai","html_url":"https://github.com/RaoHai","followers_url":"https://api.github.com/users/RaoHai/followers","following_url":"https://api.github.com/users/RaoHai/following{/other_user}","gists_url":"https://api.github.com/users/RaoHai/gists{/gist_id}","starred_url":"https://api.github.com/users/RaoHai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaoHai/subscriptions","organizations_url":"https://api.github.com/users/RaoHai/orgs","repos_url":"https://api.github.com/users/RaoHai/repos","events_url":"https://api.github.com/users/RaoHai/events{/privacy}","received_events_url":"https://api.github.com/users/RaoHai/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-10-25T14:14:24Z","updated_at":"2016-10-26T11:28:57Z","closed_at":null,"body":"\r\n#### 发生问题的环境是：\r\n\r\n<!-- 务必提供 -->\r\n\r\n- antd 版本: 2.0\r\n- 操作系统及其版本: Mac OS Sierra\r\n- 浏览器及其版本:chrome 54.0\r\n\r\n#### 您做了什么？\r\n\r\n引用antd的Select，设置onFocus事件\r\n\r\n#### 您期待的结果是：\r\n\r\n执行onFocus事件\r\n\r\n#### 实际上的结果是：\r\n\r\n没有执行onFocus事件\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/comments/256320563","html_url":"https://github.com/ant-design/ant-design/issues/3587#issuecomment-256320563","issue_url":"https://api.github.com/repos/ant-design/ant-design/issues/3587","id":256320563,"user":{"login":"ptlinyi","id":10378951,"avatar_url":"https://avatars.githubusercontent.com/u/10378951?v=3","gravatar_id":"","url":"https://api.github.com/users/ptlinyi","html_url":"https://github.com/ptlinyi","followers_url":"https://api.github.com/users/ptlinyi/followers","following_url":"https://api.github.com/users/ptlinyi/following{/other_user}","gists_url":"https://api.github.com/users/ptlinyi/gists{/gist_id}","starred_url":"https://api.github.com/users/ptlinyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptlinyi/subscriptions","organizations_url":"https://api.github.com/users/ptlinyi/orgs","repos_url":"https://api.github.com/users/ptlinyi/repos","events_url":"https://api.github.com/users/ptlinyi/events{/privacy}","received_events_url":"https://api.github.com/users/ptlinyi/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T11:28:56Z","updated_at":"2016-10-26T11:28:56Z","body":"https://ant.design/components/select/\r\n那个搜索框的Demo里是有onFocus事件的，但实际执行没有，我没做什么特别的处理，直接拷的Demo的代码嵌到我的应用里的，你们要可重现的例子，直接用这个Demo，在onFocus时输出控制台应该就能看到没被执行了。"}}
{"actor":{"display_login":"ptlinyi"}}