{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/10743","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/10743/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/10743/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/10743/events","html_url":"https://github.com/facebook/react-native/issues/10743","id":187360215,"number":10743,"title":"[RN 0.36.0] onLayout is returning 0 for view drawn in NavigationCardStack","user":{"login":"robclouth","id":1244578,"avatar_url":"https://avatars.githubusercontent.com/u/1244578?v=3","gravatar_id":"","url":"https://api.github.com/users/robclouth","html_url":"https://github.com/robclouth","followers_url":"https://api.github.com/users/robclouth/followers","following_url":"https://api.github.com/users/robclouth/following{/other_user}","gists_url":"https://api.github.com/users/robclouth/gists{/gist_id}","starred_url":"https://api.github.com/users/robclouth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robclouth/subscriptions","organizations_url":"https://api.github.com/users/robclouth/orgs","repos_url":"https://api.github.com/users/robclouth/repos","events_url":"https://api.github.com/users/robclouth/events{/privacy}","received_events_url":"https://api.github.com/users/robclouth/received_events","type":"User","site_admin":false},"labels":[{"id":238473506,"url":"https://api.github.com/repos/facebook/react-native/labels/Needs%20more%20information","name":"Needs more information","color":"f7c6c7","default":false},{"id":302848290,"url":"https://api.github.com/repos/facebook/react-native/labels/Needs%20Response%20from%20Author","name":"Needs Response from Author","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-11-04T15:17:23Z","updated_at":"2016-11-14T16:49:05Z","closed_at":null,"body":"[0a9b6be](https://github.com/facebook/react-native/commit/0a9b6bedb312eba22c5bc11498b1cc41363e5f27) (I'm guessing) has caused ```onLayout``` to return 0 for views returned in ```renderScene``` in a ```NavigationCardStack```. \r\n\r\n```\r\nreturn (\r\n  <View onLayout={e => console.log(e.nativeEvent.layout.height)}>\r\n    <View style={{height: 100}} />\r\n  </View>\r\n)\r\n```\r\n\r\nThis prints 0. In 0.35.0 it prints 100. Using ```onLayout``` inside ```NavigationCardStack``` is important for iOS style dynamically resizing settings popovers.\r\n\r\nWhat's happening here?"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/260390655","html_url":"https://github.com/facebook/react-native/issues/10743#issuecomment-260390655","issue_url":"https://api.github.com/repos/facebook/react-native/issues/10743","id":260390655,"user":{"login":"robclouth","id":1244578,"avatar_url":"https://avatars.githubusercontent.com/u/1244578?v=3","gravatar_id":"","url":"https://api.github.com/users/robclouth","html_url":"https://github.com/robclouth","followers_url":"https://api.github.com/users/robclouth/followers","following_url":"https://api.github.com/users/robclouth/following{/other_user}","gists_url":"https://api.github.com/users/robclouth/gists{/gist_id}","starred_url":"https://api.github.com/users/robclouth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robclouth/subscriptions","organizations_url":"https://api.github.com/users/robclouth/orgs","repos_url":"https://api.github.com/users/robclouth/repos","events_url":"https://api.github.com/users/robclouth/events{/privacy}","received_events_url":"https://api.github.com/users/robclouth/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T16:49:05Z","updated_at":"2016-11-14T16:49:05Z","body":"Ok if I set the component rendered in ```renderScene``` to ```position: absolute``` it measures the children correctly. What changed in 0.37.0 to cause this?"}}
{"actor":{"display_login":"robclouth"}}