{"action":"created","issue":{"url":"https://api.github.com/repos/LeoNatan/LNPopupController/issues/74","repository_url":"https://api.github.com/repos/LeoNatan/LNPopupController","labels_url":"https://api.github.com/repos/LeoNatan/LNPopupController/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/LeoNatan/LNPopupController/issues/74/comments","events_url":"https://api.github.com/repos/LeoNatan/LNPopupController/issues/74/events","html_url":"https://github.com/LeoNatan/LNPopupController/issues/74","id":155514419,"number":74,"title":"PopupView moving under Status Bar","user":{"login":"ClapCharts","id":16122434,"avatar_url":"https://avatars.githubusercontent.com/u/16122434?v=3","gravatar_id":"","url":"https://api.github.com/users/ClapCharts","html_url":"https://github.com/ClapCharts","followers_url":"https://api.github.com/users/ClapCharts/followers","following_url":"https://api.github.com/users/ClapCharts/following{/other_user}","gists_url":"https://api.github.com/users/ClapCharts/gists{/gist_id}","starred_url":"https://api.github.com/users/ClapCharts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClapCharts/subscriptions","organizations_url":"https://api.github.com/users/ClapCharts/orgs","repos_url":"https://api.github.com/users/ClapCharts/repos","events_url":"https://api.github.com/users/ClapCharts/events{/privacy}","received_events_url":"https://api.github.com/users/ClapCharts/received_events","type":"User","site_admin":false},"labels":[{"id":314448795,"url":"https://api.github.com/repos/LeoNatan/LNPopupController/labels/needs%20investigation","name":"needs investigation","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-05-18T14:23:03Z","updated_at":"2016-11-28T00:18:27Z","closed_at":null,"body":"I have got a new issue that is similar to issues #41 and #52 except that I don't use a navigation controller in my app.\n\nThe popup appears correctly on creation, with status bar sitting on top. However, if the UI is updated, the popup moves downward, below the status bar. \n\nI have updated the sample project I did for issue #71 to demonstrate this as well : https://github.com/ClapCharts/TestProject.git\n\nThanks again!\n"},"comment":{"url":"https://api.github.com/repos/LeoNatan/LNPopupController/issues/comments/263158805","html_url":"https://github.com/LeoNatan/LNPopupController/issues/74#issuecomment-263158805","issue_url":"https://api.github.com/repos/LeoNatan/LNPopupController/issues/74","id":263158805,"user":{"login":"DCDJ","id":3400414,"avatar_url":"https://avatars.githubusercontent.com/u/3400414?v=3","gravatar_id":"","url":"https://api.github.com/users/DCDJ","html_url":"https://github.com/DCDJ","followers_url":"https://api.github.com/users/DCDJ/followers","following_url":"https://api.github.com/users/DCDJ/following{/other_user}","gists_url":"https://api.github.com/users/DCDJ/gists{/gist_id}","starred_url":"https://api.github.com/users/DCDJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DCDJ/subscriptions","organizations_url":"https://api.github.com/users/DCDJ/orgs","repos_url":"https://api.github.com/users/DCDJ/repos","events_url":"https://api.github.com/users/DCDJ/events{/privacy}","received_events_url":"https://api.github.com/users/DCDJ/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T00:18:27Z","updated_at":"2016-11-28T00:18:27Z","body":"Just ran into this issue. Have the same constraints setup as the OP. \r\n\r\nIt looks like if the content view has a constraint that ties it to the top layout guide (lets say 20px offset from the very top of the view), the popup doesn't seem to take that into account until you either force an interface update/call another controller up which triggers it to recalculate constraints once the view re-appears and add in the layout guide offset (or at least I *think* that's what is happening)\r\n\r\n![layoutbug](https://cloud.githubusercontent.com/assets/3400414/20653140/f0c0636c-b4ff-11e6-80d9-a2995fe81c63.gif)\r\n\r\nConstraints:\r\n\r\n<img width=\"900\" alt=\"screen shot 2016-11-28 at 00 17 02\" src=\"https://cloud.githubusercontent.com/assets/3400414/20653147/0b6a94bc-b500-11e6-91bf-42482b379717.png\">\r\n\r\n"}}
{"actor":{"display_login":"DCDJ"}}