{"action":"opened","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/2255","repository_url":"https://api.github.com/repos/ant-design/ant-design","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/2255/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/2255/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/2255/events","html_url":"https://github.com/ant-design/ant-design/issues/2255","id":163598060,"number":2255,"title":"form组件中 validateFieldsAndScroll函数没有让校验失败的元素滚动到屏幕中间，而是滚动到底部","user":{"login":"lianpen","id":18298927,"avatar_url":"https://avatars.githubusercontent.com/u/18298927?v=3","gravatar_id":"","url":"https://api.github.com/users/lianpen","html_url":"https://github.com/lianpen","followers_url":"https://api.github.com/users/lianpen/followers","following_url":"https://api.github.com/users/lianpen/following{/other_user}","gists_url":"https://api.github.com/users/lianpen/gists{/gist_id}","starred_url":"https://api.github.com/users/lianpen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lianpen/subscriptions","organizations_url":"https://api.github.com/users/lianpen/orgs","repos_url":"https://api.github.com/users/lianpen/repos","events_url":"https://api.github.com/users/lianpen/events{/privacy}","received_events_url":"https://api.github.com/users/lianpen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-04T03:41:51Z","updated_at":"2016-07-04T03:41:51Z","closed_at":null,"body":"<!-- Issue Template For Chinese Users -->\r\n\r\n<!-- 请按照下列格式报告问题，务必提供复现步骤，否则恕难解决，感谢您的支持。-->\r\n\r\n### 本地环境\r\n\r\n<!-- 务必提供 -->\r\n\r\n- antd 版本:1.6.3\r\n- 操作系统及其版本：win7\r\n- 浏览器及其版本:chrome\r\n\r\n### 你做了什么？\r\n\r\n<!-- 引入 antd 了 Form  validateFieldsAndScroll函数 -->\r\n\r\n### 你期待的结果是：\r\n\r\n让校验失败的元素滚动到屏幕中间\r\n\r\n## 实际上的结果：\r\n\r\n校验失败的元素位置在屏幕底部\r\n\r\n### 可重现的在线演示\r\n\r\n<!-- 请修改并 Fork http://codepen.io/anon/pen/wGOWGW?editors=001 -->\r\n"}}
{"actor":{"display_login":"lianpen"}}