{"action":"opened","issue":{"url":"https://api.github.com/repos/captivationsoftware/react-sticky/issues/211","repository_url":"https://api.github.com/repos/captivationsoftware/react-sticky","labels_url":"https://api.github.com/repos/captivationsoftware/react-sticky/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/captivationsoftware/react-sticky/issues/211/comments","events_url":"https://api.github.com/repos/captivationsoftware/react-sticky/issues/211/events","html_url":"https://github.com/captivationsoftware/react-sticky/issues/211","id":250883291,"number":211,"title":"No guide on wiki on handling \"style\" or CSS default is to stick to bottom","user":{"login":"tatsujb","id":5132359,"avatar_url":"https://avatars0.githubusercontent.com/u/5132359?v=4","gravatar_id":"","url":"https://api.github.com/users/tatsujb","html_url":"https://github.com/tatsujb","followers_url":"https://api.github.com/users/tatsujb/followers","following_url":"https://api.github.com/users/tatsujb/following{/other_user}","gists_url":"https://api.github.com/users/tatsujb/gists{/gist_id}","starred_url":"https://api.github.com/users/tatsujb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tatsujb/subscriptions","organizations_url":"https://api.github.com/users/tatsujb/orgs","repos_url":"https://api.github.com/users/tatsujb/repos","events_url":"https://api.github.com/users/tatsujb/events{/privacy}","received_events_url":"https://api.github.com/users/tatsujb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-17T09:32:04Z","updated_at":"2017-08-17T09:32:04Z","closed_at":null,"body":"I implemented sticky pretty much as is \r\n\r\nand even found that something as minimal as : \r\n \r\n`<div className=\"menu-bar\">\r\n     <StickyContainer>\r\n          <Sticky>\r\n                {\r\n                  () => (\r\n                       <Menu/>\r\n                  )\r\n                }\r\n           </Sticky>\r\n      </StickyContainer>\r\n</div>`\r\n\r\nworks\r\nbut the default is to stick to bottom. you show off these \r\nisSticky,\r\nwasSticky,\r\ndistanceFromTop,\r\ndistanceFromBottom,\r\ncalculatedHeight\r\n\r\nbut what are they? css selectors?\r\n\r\nhow do I pass them values? is it ok to declare them elsewhere? it's apparently ok not to declare them at in that case are all of them dependant or do some of them need to be declared also when another is present?\r\n\r\ncan I have a simple example of a top sticky?"}}
{"actor":{"display_login":"tatsujb"}}