{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/2456","labels_url":"https://api.github.com/repos/facebook/react-native/issues/2456/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/2456/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/2456/events","html_url":"https://github.com/facebook/react-native/issues/2456","id":103424249,"number":2456,"title":"[Modal] 0.11.0-rc Modal error SIGABRT with ScrollView","user":{"login":"levic92","id":1757742,"avatar_url":"https://avatars.githubusercontent.com/u/1757742?v=3","gravatar_id":"","url":"https://api.github.com/users/levic92","html_url":"https://github.com/levic92","followers_url":"https://api.github.com/users/levic92/followers","following_url":"https://api.github.com/users/levic92/following{/other_user}","gists_url":"https://api.github.com/users/levic92/gists{/gist_id}","starred_url":"https://api.github.com/users/levic92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/levic92/subscriptions","organizations_url":"https://api.github.com/users/levic92/orgs","repos_url":"https://api.github.com/users/levic92/repos","events_url":"https://api.github.com/users/levic92/events{/privacy}","received_events_url":"https://api.github.com/users/levic92/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"a2","id":241156,"avatar_url":"https://avatars.githubusercontent.com/u/241156?v=3","gravatar_id":"","url":"https://api.github.com/users/a2","html_url":"https://github.com/a2","followers_url":"https://api.github.com/users/a2/followers","following_url":"https://api.github.com/users/a2/following{/other_user}","gists_url":"https://api.github.com/users/a2/gists{/gist_id}","starred_url":"https://api.github.com/users/a2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a2/subscriptions","organizations_url":"https://api.github.com/users/a2/orgs","repos_url":"https://api.github.com/users/a2/repos","events_url":"https://api.github.com/users/a2/events{/privacy}","received_events_url":"https://api.github.com/users/a2/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-08-27T04:11:20Z","updated_at":"2015-09-18T19:48:16Z","closed_at":null,"body":"When there is a ScrollView in a Modal that is set to be animated the app will crash and give a SIGABRT error.\r\n\r\n```javascript\r\n<Modal\r\n  animated={true}\r\n  transparent={this.state.transparent}\r\n  visible={this.state.modalVisible}>\r\n  <View style={[styles.container, modalBackgroundStyle]}>\r\n    <View style={[styles.innerContainer, innerContainerTransparentStyle]}>\r\n      <ScrollView>\r\n        <Text>This modal was presented {this.state.animated ? 'with' : 'without'} animation.</Text>\r\n        <Button\r\n          onPress={this._setModalVisible.bind(this, false)}\r\n          style={styles.modalButton}>\r\n          Close\r\n        </Button>\r\n      </ScrollView>\r\n    </View>\r\n  </View>\r\n</Modal>\r\n```\r\n\r\n```\r\n2015-08-26 20:59:15.147 [info][tid:com.facebook.React.JavaScript] 'Running application \"UIExplorerApp\" with appParams: {\"rootTag\":1,\"initialProps\":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF'\r\n2015-08-26 20:59:37.552 UIExplorer[94500:6245902] *** Assertion failure in __33-[RCTUIManager setFrame:forView:]_block_invoke(), /Users/****/Downloads/react-native-0.11-stable/React/Modules/RCTUIManager.m:356\r\n2015-08-26 20:59:37.554 UIExplorer[94500:6245902] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not locate root view with tag #493'\r\n*** First throw call stack:\r\n(\r\n\t0   CoreFoundation                      0x000000010a653c65 __exceptionPreprocess + 165\r\n\t1   libobjc.A.dylib                     0x0000000109ac3bb7 objc_exception_throw + 45\r\n\t2   CoreFoundation                      0x000000010a653aca +[NSException raise:format:arguments:] + 106\r\n\t3   Foundation                          0x00000001096d8a57 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 169\r\n\t4   UIExplorer                          0x000000010941e627 __33-[RCTUIManager setFrame:forView:]_block_invoke + 359\r\n\t5   libdispatch.dylib                   0x000000010db5d186 _dispatch_call_block_and_release + 12\r\n\t6   libdispatch.dylib                   0x000000010db7c614 _dispatch_client_callout + 8\r\n\t7   libdispatch.dylib                   0x000000010db636a7 _dispatch_queue_drain + 2176\r\n\t8   libdispatch.dylib                   0x000000010db62cc0 _dispatch_queue_invoke + 235\r\n\t9   libdispatch.dylib                   0x000000010db663b9 _dispatch_root_queue_drain + 1359\r\n\t10  libdispatch.dylib                   0x000000010db67b17 _dispatch_worker_thread3 + 111\r\n\t11  libsystem_pthread.dylib             0x000000010dee9637 _pthread_wqthread + 729\r\n\t12  libsystem_pthread.dylib             0x000000010dee740d start_wqthread + 13\r\n)\r\nlibc++abi.dylib: terminating with uncaught exception of type NSException\r\n(lldb) \r\n```"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/141549967","html_url":"https://github.com/facebook/react-native/issues/2456#issuecomment-141549967","issue_url":"https://api.github.com/repos/facebook/react-native/issues/2456","id":141549967,"user":{"login":"ide","id":379606,"avatar_url":"https://avatars.githubusercontent.com/u/379606?v=3","gravatar_id":"","url":"https://api.github.com/users/ide","html_url":"https://github.com/ide","followers_url":"https://api.github.com/users/ide/followers","following_url":"https://api.github.com/users/ide/following{/other_user}","gists_url":"https://api.github.com/users/ide/gists{/gist_id}","starred_url":"https://api.github.com/users/ide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ide/subscriptions","organizations_url":"https://api.github.com/users/ide/orgs","repos_url":"https://api.github.com/users/ide/repos","events_url":"https://api.github.com/users/ide/events{/privacy}","received_events_url":"https://api.github.com/users/ide/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T19:48:16Z","updated_at":"2015-09-18T19:48:16Z","body":"If this issue is blocking anyone, I strongly suggest looking into Navigator instead of Modal. Modal is designed only for hybrid apps where you have a native part in addition to RN."}}