{"action":"created","issue":{"url":"https://api.github.com/repos/seatgeek/react-infinite/issues/106","labels_url":"https://api.github.com/repos/seatgeek/react-infinite/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/seatgeek/react-infinite/issues/106/comments","events_url":"https://api.github.com/repos/seatgeek/react-infinite/issues/106/events","html_url":"https://github.com/seatgeek/react-infinite/issues/106","id":116588135,"number":106,"title":"Correct way to use elementHeight on responsive items?","user":{"login":"juhaelee","id":606411,"avatar_url":"https://avatars.githubusercontent.com/u/606411?v=3","gravatar_id":"","url":"https://api.github.com/users/juhaelee","html_url":"https://github.com/juhaelee","followers_url":"https://api.github.com/users/juhaelee/followers","following_url":"https://api.github.com/users/juhaelee/following{/other_user}","gists_url":"https://api.github.com/users/juhaelee/gists{/gist_id}","starred_url":"https://api.github.com/users/juhaelee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juhaelee/subscriptions","organizations_url":"https://api.github.com/users/juhaelee/orgs","repos_url":"https://api.github.com/users/juhaelee/repos","events_url":"https://api.github.com/users/juhaelee/events{/privacy}","received_events_url":"https://api.github.com/users/juhaelee/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-12T16:39:19Z","updated_at":"2015-11-12T17:14:32Z","closed_at":"2015-11-12T16:56:36Z","body":"So I have a feed item component that's an image and the height of the image changes when I resize my window. I'm wondering what the best approach for this is.\r\n\r\nDoes react-infinite work if I set the elementHeight for the image to be the minimum height? Say the smallest height the image can get is 100px, but on desktop its 600px. If I use element height [100, 100] would that be ok?\r\n\r\nOr...\r\n\r\nShould I use a debouncer on window.resize, and just reset the element heights using setState? "},"comment":{"url":"https://api.github.com/repos/seatgeek/react-infinite/issues/comments/156170495","html_url":"https://github.com/seatgeek/react-infinite/issues/106#issuecomment-156170495","issue_url":"https://api.github.com/repos/seatgeek/react-infinite/issues/106","id":156170495,"user":{"login":"garetht","id":3794866,"avatar_url":"https://avatars.githubusercontent.com/u/3794866?v=3","gravatar_id":"","url":"https://api.github.com/users/garetht","html_url":"https://github.com/garetht","followers_url":"https://api.github.com/users/garetht/followers","following_url":"https://api.github.com/users/garetht/following{/other_user}","gists_url":"https://api.github.com/users/garetht/gists{/gist_id}","starred_url":"https://api.github.com/users/garetht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garetht/subscriptions","organizations_url":"https://api.github.com/users/garetht/orgs","repos_url":"https://api.github.com/users/garetht/repos","events_url":"https://api.github.com/users/garetht/events{/privacy}","received_events_url":"https://api.github.com/users/garetht/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T17:14:32Z","updated_at":"2015-11-12T17:14:32Z","body":"I don't believe there is a way without DOM measurements, which have not yet been implemented."}}