{"action":"created","issue":{"url":"https://api.github.com/repos/callemall/material-ui/issues/2731","labels_url":"https://api.github.com/repos/callemall/material-ui/issues/2731/labels{/name}","comments_url":"https://api.github.com/repos/callemall/material-ui/issues/2731/comments","events_url":"https://api.github.com/repos/callemall/material-ui/issues/2731/events","html_url":"https://github.com/callemall/material-ui/issues/2731","id":124397467,"number":2731,"title":"Select and deselect all rows adds extra index","user":{"login":"stevenmwade","id":5377515,"avatar_url":"https://avatars.githubusercontent.com/u/5377515?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenmwade","html_url":"https://github.com/stevenmwade","followers_url":"https://api.github.com/users/stevenmwade/followers","following_url":"https://api.github.com/users/stevenmwade/following{/other_user}","gists_url":"https://api.github.com/users/stevenmwade/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenmwade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenmwade/subscriptions","organizations_url":"https://api.github.com/users/stevenmwade/orgs","repos_url":"https://api.github.com/users/stevenmwade/repos","events_url":"https://api.github.com/users/stevenmwade/events{/privacy}","received_events_url":"https://api.github.com/users/stevenmwade/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/callemall/material-ui/labels/Bug","name":"Bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-12-30T20:42:19Z","updated_at":"2015-12-30T21:50:40Z","closed_at":null,"body":"When messing around with `onRowSelection`, I came across an interesting bug (maybe) where when you select and deselect all rows the `selectedRows` comes out as `all` and `none` as expected but once you start selecting again there is always an `undefined` index."},"comment":{"url":"https://api.github.com/repos/callemall/material-ui/issues/comments/168079835","html_url":"https://github.com/callemall/material-ui/issues/2731#issuecomment-168079835","issue_url":"https://api.github.com/repos/callemall/material-ui/issues/2731","id":168079835,"user":{"login":"stevenmwade","id":5377515,"avatar_url":"https://avatars.githubusercontent.com/u/5377515?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenmwade","html_url":"https://github.com/stevenmwade","followers_url":"https://api.github.com/users/stevenmwade/followers","following_url":"https://api.github.com/users/stevenmwade/following{/other_user}","gists_url":"https://api.github.com/users/stevenmwade/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenmwade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenmwade/subscriptions","organizations_url":"https://api.github.com/users/stevenmwade/orgs","repos_url":"https://api.github.com/users/stevenmwade/repos","events_url":"https://api.github.com/users/stevenmwade/events{/privacy}","received_events_url":"https://api.github.com/users/stevenmwade/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T21:50:40Z","updated_at":"2015-12-30T21:50:40Z","body":"@alitaheri And that's why I leave it to you!"}}