{"action":"closed","issue":{"url":"https://api.github.com/repos/tajo/react-portal/issues/111","repository_url":"https://api.github.com/repos/tajo/react-portal","labels_url":"https://api.github.com/repos/tajo/react-portal/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/tajo/react-portal/issues/111/comments","events_url":"https://api.github.com/repos/tajo/react-portal/issues/111/events","html_url":"https://github.com/tajo/react-portal/issues/111","id":192234272,"number":111,"title":"Position logic in container ?","user":{"login":"moak","id":552623,"avatar_url":"https://avatars.githubusercontent.com/u/552623?v=3","gravatar_id":"","url":"https://api.github.com/users/moak","html_url":"https://github.com/moak","followers_url":"https://api.github.com/users/moak/followers","following_url":"https://api.github.com/users/moak/following{/other_user}","gists_url":"https://api.github.com/users/moak/gists{/gist_id}","starred_url":"https://api.github.com/users/moak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moak/subscriptions","organizations_url":"https://api.github.com/users/moak/orgs","repos_url":"https://api.github.com/users/moak/repos","events_url":"https://api.github.com/users/moak/events{/privacy}","received_events_url":"https://api.github.com/users/moak/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-29T09:49:43Z","updated_at":"2016-12-29T21:47:19Z","closed_at":"2016-12-29T21:47:19Z","body":"Hi, I see that the logic for the AbsolutePosition component is handled in the container, with the setState method on onClick. I am still new in React and I was wondering how we could put this logic outside the container and maybe more in the Portal component with refs ? The objective would be to manage \"positions\" for AbsolutePosition like \"left\", \"top-right\", etc..\r\n\r\nTell me what you think and if what I say sounds doable. \r\n\r\nThank you"}}
{"actor":{"display_login":"tajo"}}