{"action":"opened","issue":{"url":"https://api.github.com/repos/seatgeek/react-infinite/issues/29","labels_url":"https://api.github.com/repos/seatgeek/react-infinite/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/seatgeek/react-infinite/issues/29/comments","events_url":"https://api.github.com/repos/seatgeek/react-infinite/issues/29/events","html_url":"https://github.com/seatgeek/react-infinite/issues/29","id":66995027,"number":29,"title":"Window as the container","user":{"login":"srph","id":5093058,"avatar_url":"https://avatars.githubusercontent.com/u/5093058?v=3","gravatar_id":"","url":"https://api.github.com/users/srph","html_url":"https://github.com/srph","followers_url":"https://api.github.com/users/srph/followers","following_url":"https://api.github.com/users/srph/following{/other_user}","gists_url":"https://api.github.com/users/srph/gists{/gist_id}","starred_url":"https://api.github.com/users/srph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srph/subscriptions","organizations_url":"https://api.github.com/users/srph/orgs","repos_url":"https://api.github.com/users/srph/repos","events_url":"https://api.github.com/users/srph/events{/privacy}","received_events_url":"https://api.github.com/users/srph/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-07T21:29:45Z","updated_at":"2015-04-07T21:29:45Z","closed_at":null,"body":"I haven't tried out the library, but would like to. However, I haven't seen an example of having the `window` as the `container`. Would this be correct?\r\n\r\n```\r\n<InfiniteScroll containerHeight={window.innerHeight}>\r\n  ...\r\n</InfiniteScroll>\r\n```"}}