{"action":"created","issue":{"url":"https://api.github.com/repos/react-component/table/issues/152","repository_url":"https://api.github.com/repos/react-component/table","labels_url":"https://api.github.com/repos/react-component/table/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/react-component/table/issues/152/comments","events_url":"https://api.github.com/repos/react-component/table/issues/152/events","html_url":"https://github.com/react-component/table/pull/152","id":243927506,"number":152,"title":"Table scroll 问题。修复。","user":{"login":"shenqihui","id":4081063,"avatar_url":"https://avatars2.githubusercontent.com/u/4081063?v=4","gravatar_id":"","url":"https://api.github.com/users/shenqihui","html_url":"https://github.com/shenqihui","followers_url":"https://api.github.com/users/shenqihui/followers","following_url":"https://api.github.com/users/shenqihui/following{/other_user}","gists_url":"https://api.github.com/users/shenqihui/gists{/gist_id}","starred_url":"https://api.github.com/users/shenqihui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shenqihui/subscriptions","organizations_url":"https://api.github.com/users/shenqihui/orgs","repos_url":"https://api.github.com/users/shenqihui/repos","events_url":"https://api.github.com/users/shenqihui/events{/privacy}","received_events_url":"https://api.github.com/users/shenqihui/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-19T05:37:19Z","updated_at":"2017-07-19T05:47:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/react-component/table/pulls/152","html_url":"https://github.com/react-component/table/pull/152","diff_url":"https://github.com/react-component/table/pull/152.diff","patch_url":"https://github.com/react-component/table/pull/152.patch"},"body":"目前遇到scroll的问题。\r\n\r\n见 [https://github.com/ant-design/ant-design/issues/6537](https://github.com/ant-design/ant-design/issues/6537)。\r\n\r\n目前测试 横向纵向 scroll 都没问题，mac + win 测过没问题。\r\n\r\n旧的 pr 在 [https://github.com/react-component/table/pull/147](https://github.com/react-component/table/pull/147)\r\n\r\nif (e.target !== this.scrollTarget) 的判断，加了这个判断的话，假设会避免 scrollTop 的循环触发的问题，那应该能够通过存储 this.lastScrollTop 来避免。所以 scrollTarget 应该不用判断了。"},"comment":{"url":"https://api.github.com/repos/react-component/table/issues/comments/316279380","html_url":"https://github.com/react-component/table/pull/152#issuecomment-316279380","issue_url":"https://api.github.com/repos/react-component/table/issues/152","id":316279380,"user":{"login":"afc163","id":507615,"avatar_url":"https://avatars1.githubusercontent.com/u/507615?v=4","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":"2017-07-19T05:47:37Z","updated_at":"2017-07-19T05:47:37Z","body":"可以在 Firefox 下看下：http://127.0.0.1:8000/examples/fixedColumnsAndHeader.html 这个例子，滚动中间区域时会有剧烈的抖动。"}}
{"actor":{"display_login":"afc163"}}