{"action":"closed","issue":{"url":"https://api.github.com/repos/bvaughn/react-virtualized/issues/260","repository_url":"https://api.github.com/repos/bvaughn/react-virtualized","labels_url":"https://api.github.com/repos/bvaughn/react-virtualized/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/bvaughn/react-virtualized/issues/260/comments","events_url":"https://api.github.com/repos/bvaughn/react-virtualized/issues/260/events","html_url":"https://github.com/bvaughn/react-virtualized/issues/260","id":157338869,"number":260,"title":"Applying odd element CSS rule to FlexTable row.","user":{"login":"vjancik","id":4226865,"avatar_url":"https://avatars.githubusercontent.com/u/4226865?v=3","gravatar_id":"","url":"https://api.github.com/users/vjancik","html_url":"https://github.com/vjancik","followers_url":"https://api.github.com/users/vjancik/followers","following_url":"https://api.github.com/users/vjancik/following{/other_user}","gists_url":"https://api.github.com/users/vjancik/gists{/gist_id}","starred_url":"https://api.github.com/users/vjancik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjancik/subscriptions","organizations_url":"https://api.github.com/users/vjancik/orgs","repos_url":"https://api.github.com/users/vjancik/repos","events_url":"https://api.github.com/users/vjancik/events{/privacy}","received_events_url":"https://api.github.com/users/vjancik/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-28T13:27:40Z","updated_at":"2016-05-28T14:09:41Z","closed_at":"2016-05-28T14:09:41Z","body":"I stylize my table with each other row being gray. So (white, gray, white, gray).\r\nI achieve this by using the `.Grid_cell:nth-of-type(odd)` CSS selector.\r\nHowever, because of the \"only in view\" rendering, the \"oddness\" of a particular row changes depending on the scroll position. This causes the color of the rows to shift as I scroll, and creates a really ugly effect.\r\n\r\nExample (compare colors on particular rows):\r\nhttp://pasteboard.co/1gcyv7SK.png\r\nhttp://pasteboard.co/1gczQxFw.png\r\n\r\nThere's a simple fix to this, which is to render rows 2 at a time. If you only render new rows 2 at a time, the \"oddness\" of a particular row won't change.\r\n\r\nWould you mind implementing this feature, either as an option or by default? I think a lot of people stylize their tables this way.\r\n\r\nThank you!"}}
{"actor":{"display_login":"bvaughn"}}