{"action":"created","issue":{"url":"https://api.github.com/repos/captivationsoftware/react-sticky/issues/132","repository_url":"https://api.github.com/repos/captivationsoftware/react-sticky","labels_url":"https://api.github.com/repos/captivationsoftware/react-sticky/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/captivationsoftware/react-sticky/issues/132/comments","events_url":"https://api.github.com/repos/captivationsoftware/react-sticky/issues/132/events","html_url":"https://github.com/captivationsoftware/react-sticky/pull/132","id":179180358,"number":132,"title":"Feature: sticky bottom (sticky footer)","user":{"login":"iNikNik","id":7679749,"avatar_url":"https://avatars.githubusercontent.com/u/7679749?v=3","gravatar_id":"","url":"https://api.github.com/users/iNikNik","html_url":"https://github.com/iNikNik","followers_url":"https://api.github.com/users/iNikNik/followers","following_url":"https://api.github.com/users/iNikNik/following{/other_user}","gists_url":"https://api.github.com/users/iNikNik/gists{/gist_id}","starred_url":"https://api.github.com/users/iNikNik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iNikNik/subscriptions","organizations_url":"https://api.github.com/users/iNikNik/orgs","repos_url":"https://api.github.com/users/iNikNik/repos","events_url":"https://api.github.com/users/iNikNik/events{/privacy}","received_events_url":"https://api.github.com/users/iNikNik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-09-26T09:32:27Z","updated_at":"2016-09-27T13:14:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/captivationsoftware/react-sticky/pulls/132","html_url":"https://github.com/captivationsoftware/react-sticky/pull/132","diff_url":"https://github.com/captivationsoftware/react-sticky/pull/132.diff","patch_url":"https://github.com/captivationsoftware/react-sticky/pull/132.patch"},"body":"Hello! I've implemented position property for sticky: now you can stick container to the bottom. Still no test cases, but if you like the feature I can add it.\r\n\r\nPR for #90 "},"comment":{"url":"https://api.github.com/repos/captivationsoftware/react-sticky/issues/comments/249861105","html_url":"https://github.com/captivationsoftware/react-sticky/pull/132#issuecomment-249861105","issue_url":"https://api.github.com/repos/captivationsoftware/react-sticky/issues/132","id":249861105,"user":{"login":"iNikNik","id":7679749,"avatar_url":"https://avatars.githubusercontent.com/u/7679749?v=3","gravatar_id":"","url":"https://api.github.com/users/iNikNik","html_url":"https://github.com/iNikNik","followers_url":"https://api.github.com/users/iNikNik/followers","following_url":"https://api.github.com/users/iNikNik/following{/other_user}","gists_url":"https://api.github.com/users/iNikNik/gists{/gist_id}","starred_url":"https://api.github.com/users/iNikNik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iNikNik/subscriptions","organizations_url":"https://api.github.com/users/iNikNik/orgs","repos_url":"https://api.github.com/users/iNikNik/repos","events_url":"https://api.github.com/users/iNikNik/events{/privacy}","received_events_url":"https://api.github.com/users/iNikNik/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T13:14:43Z","updated_at":"2016-09-27T13:14:43Z","body":"Probably you're right. I'll think about it...\r\n\r\nBut it really depends on page layout: in current version you need to re-render container when new data arrives. \r\n```javascript\r\n<ConnectedComponent>\r\n  <StickyContainer>\r\n    <AjaxData />\r\n    <Sticky> ... </Sticky>\r\n  </StickyContainer>\r\n</ConnectedComponent\r\n```\r\n\r\nBut if you're using e.g. redux, and your connected component is inside the container... when new data arrives it will not cause container render.\r\n\r\n```javascript\r\n<StickyContainer>\r\n  <ConnectedComponent>\r\n    <AjaxData />\r\n  </ConnectedComponent>\r\n  <Sticky> ... </Sticky>\r\n</StickyContainer>\r\n```\r\n\r\nSo, in the last case we definitely should listen container.onResize. I'll try to implement it."}}
{"actor":{"display_login":"iNikNik"}}