{"action":"opened","issue":{"url":"https://api.github.com/repos/glittershark/reactable/issues/294","repository_url":"https://api.github.com/repos/glittershark/reactable","labels_url":"https://api.github.com/repos/glittershark/reactable/issues/294/labels{/name}","comments_url":"https://api.github.com/repos/glittershark/reactable/issues/294/comments","events_url":"https://api.github.com/repos/glittershark/reactable/issues/294/events","html_url":"https://github.com/glittershark/reactable/issues/294","id":164377489,"number":294,"title":"Fixing current page when re-render","user":{"login":"yocmen","id":11200640,"avatar_url":"https://avatars.githubusercontent.com/u/11200640?v=3","gravatar_id":"","url":"https://api.github.com/users/yocmen","html_url":"https://github.com/yocmen","followers_url":"https://api.github.com/users/yocmen/followers","following_url":"https://api.github.com/users/yocmen/following{/other_user}","gists_url":"https://api.github.com/users/yocmen/gists{/gist_id}","starred_url":"https://api.github.com/users/yocmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yocmen/subscriptions","organizations_url":"https://api.github.com/users/yocmen/orgs","repos_url":"https://api.github.com/users/yocmen/repos","events_url":"https://api.github.com/users/yocmen/events{/privacy}","received_events_url":"https://api.github.com/users/yocmen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-07T18:33:40Z","updated_at":"2016-07-07T18:33:40Z","closed_at":null,"body":"Hi, i dont know how explain  this, but i will try, in your table paginated if u are in page 5, and then u click inside a row the currentPage param is reseted to 0, returning the user to the first page, to avoid this i edit the file table.js and add this to componentWillReceiveProps function:\r\n\r\n`if(this.state.currentPage` === 0)\r\n    this.updateCurrentPage(nextProps.currentPage);`\r\n\r\nthis work for me, but could be nice if u can added directly to the branch."}}
{"actor":{"display_login":"yocmen"}}