{"action":"created","issue":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/2193","repository_url":"https://api.github.com/repos/wix/react-native-navigation","labels_url":"https://api.github.com/repos/wix/react-native-navigation/issues/2193/labels{/name}","comments_url":"https://api.github.com/repos/wix/react-native-navigation/issues/2193/comments","events_url":"https://api.github.com/repos/wix/react-native-navigation/issues/2193/events","html_url":"https://github.com/wix/react-native-navigation/issues/2193","id":275265444,"node_id":"MDU6SXNzdWUyNzUyNjU0NDQ=","number":2193,"title":"[iOS] Race condition in map initalization","user":{"login":"henrikra","id":12229968,"node_id":"MDQ6VXNlcjEyMjI5OTY4","avatar_url":"https://avatars1.githubusercontent.com/u/12229968?v=4","gravatar_id":"","url":"https://api.github.com/users/henrikra","html_url":"https://github.com/henrikra","followers_url":"https://api.github.com/users/henrikra/followers","following_url":"https://api.github.com/users/henrikra/following{/other_user}","gists_url":"https://api.github.com/users/henrikra/gists{/gist_id}","starred_url":"https://api.github.com/users/henrikra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrikra/subscriptions","organizations_url":"https://api.github.com/users/henrikra/orgs","repos_url":"https://api.github.com/users/henrikra/repos","events_url":"https://api.github.com/users/henrikra/events{/privacy}","received_events_url":"https://api.github.com/users/henrikra/received_events","type":"User","site_admin":false},"labels":[{"id":422524384,"node_id":"MDU6TGFiZWw0MjI1MjQzODQ=","url":"https://api.github.com/repos/wix/react-native-navigation/labels/Discussion","name":"Discussion","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-11-20T07:56:48Z","updated_at":"2018-06-02T08:36:14Z","closed_at":null,"author_association":"NONE","body":"### Issue Description\r\n\r\nI noticed this bug with https://github.com/mapbox/react-native-mapbox-gl. That when I have just a `View` with  `flex: 1` and Mapbox map with `flex: 1` sometimes the map gets double size of the screen. Here is picture of what I mean\r\n![image](https://user-images.githubusercontent.com/12229968/33007628-47191b9a-cdd8-11e7-9eb4-798cb1de8f3d.png)\r\n\r\nMy guess is that this navigation library is somehow getting the double screen size for small amount of time and then it changes it back to the size of the actual phone. Between those steps the map has been initialized and has wrong size.\r\n\r\nTo be able to reproduce this you can use my test repo where I can reproduce this bug: https://github.com/henrikra/mapbox-shifted-map-bug \r\nHere is also video on how you can get the bug situation with the above repo: https://drive.google.com/file/d/1uAPjtq_hzRWUWL60oRoYxhywLlxULKlQ/view?usp=sharing\r\nYou can see the bug in the last 20 secs of the video. It may take many tries before you can get the race condition situation as you can see it from the video it took me 2 minutes of retries to get. So I have set the center coordinate to Kamppi but in the end it is shifted to \"Meilahti\"\r\n\r\nMore info on this here: https://github.com/mapbox/react-native-mapbox-gl/issues/777\r\n\r\n### Environment\r\n* React Native Navigation version: 1.1.235\r\n* React Native version: 0.49.0\r\n* Platform: iOS\r\n* Device info: Device\r\n"},"comment":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/comments/394070221","html_url":"https://github.com/wix/react-native-navigation/issues/2193#issuecomment-394070221","issue_url":"https://api.github.com/repos/wix/react-native-navigation/issues/2193","id":394070221,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDA3MDIyMQ==","user":{"login":"stale[bot]","id":26384082,"node_id":"MDM6Qm90MjYzODQwODI=","avatar_url":"https://avatars3.githubusercontent.com/in/1724?v=4","gravatar_id":"","url":"https://api.github.com/users/stale%5Bbot%5D","html_url":"https://github.com/apps/stale","followers_url":"https://api.github.com/users/stale%5Bbot%5D/followers","following_url":"https://api.github.com/users/stale%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stale%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stale%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stale%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stale%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stale%5Bbot%5D/repos","events_url":"https://api.github.com/users/stale%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stale%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-06-02T08:36:14Z","updated_at":"2018-06-02T08:36:14Z","author_association":"NONE","body":"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. \nIf you believe the issue is still relevant, please test on the latest version and report back. Thank you for your contributions.\n"}}
{"actor":{"display_login":"stale"}}