{"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/2514","repository_url":"https://api.github.com/repos/ant-design/ant-design","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/2514/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/2514/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/2514/events","html_url":"https://github.com/ant-design/ant-design/issues/2514","id":167755504,"number":2514,"title":"InputNumber在focus和blur时都会触发onChagne ?","user":{"login":"codering","id":2271825,"avatar_url":"https://avatars.githubusercontent.com/u/2271825?v=3","gravatar_id":"","url":"https://api.github.com/users/codering","html_url":"https://github.com/codering","followers_url":"https://api.github.com/users/codering/followers","following_url":"https://api.github.com/users/codering/following{/other_user}","gists_url":"https://api.github.com/users/codering/gists{/gist_id}","starred_url":"https://api.github.com/users/codering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codering/subscriptions","organizations_url":"https://api.github.com/users/codering/orgs","repos_url":"https://api.github.com/users/codering/repos","events_url":"https://api.github.com/users/codering/events{/privacy}","received_events_url":"https://api.github.com/users/codering/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-27T02:30:01Z","updated_at":"2016-07-27T04:57:44Z","closed_at":null,"body":"\r\n#### 本地环境\r\n\r\n- antd 版本:  1.6.5\r\n- 操作系统及其版本：ubuntu 16.04\r\n- 浏览器及其版本: chrome\r\n\r\n#### 你做了什么？\r\n\r\n```js\r\n\r\n          <InputNumber \r\n            min={0}\r\n            defaultValue={0} \r\n            onChange={value => this.handleChange({xxx: value})} \r\n         />\r\n\r\n```\r\n\r\n#### 你期待的结果是：\r\n\r\n只有值真的改变了，才触发onChange\r\n\r\n#### 实际上的结果：\r\n\r\n值没变，但在focus和blur时都会触发onChagne\r\n\r\n#### 可重现的在线演示\r\n\r\n官网可重现\r\n"},"comment":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/comments/235485123","html_url":"https://github.com/ant-design/ant-design/issues/2514#issuecomment-235485123","issue_url":"https://api.github.com/repos/ant-design/ant-design/issues/2514","id":235485123,"user":{"login":"afc163","id":507615,"avatar_url":"https://avatars.githubusercontent.com/u/507615?v=3","gravatar_id":"","url":"https://api.github.com/users/afc163","html_url":"https://github.com/afc163","followers_url":"https://api.github.com/users/afc163/followers","following_url":"https://api.github.com/users/afc163/following{/other_user}","gists_url":"https://api.github.com/users/afc163/gists{/gist_id}","starred_url":"https://api.github.com/users/afc163/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afc163/subscriptions","organizations_url":"https://api.github.com/users/afc163/orgs","repos_url":"https://api.github.com/users/afc163/repos","events_url":"https://api.github.com/users/afc163/events{/privacy}","received_events_url":"https://api.github.com/users/afc163/received_events","type":"User","site_admin":false},"created_at":"2016-07-27T04:57:44Z","updated_at":"2016-07-27T04:57:44Z","body":"fixed in rc-input-number@2.5.15\r\n\r\nhttps://github.com/react-component/input-number/commit/2a78189254173587a757126cdac115b50c986a31"}}
{"actor":{"display_login":"afc163"}}