Modal crashes on `react-native@0.66`
See original GitHub issueApp crash on IOS devices on click modal. After update the react-native 0.66.0 version.
Platforms
Crash on IOS platform
Versions
- react-native-modal:13.0.0
- react-native:0.66.0
- react:17.0.2
Description
Fatal Exception: NSInvalidArgumentException 0 CoreFoundation 0x11b928 __exceptionPreprocess 1 libobjc.A.dylib 0x26480 objc_exception_throw 2 UIKitCore 0x47cd4c -[UIViewController popoverPresentationController:] 3 UIKitCore 0x47d7c0 __63-[UIViewController _presentViewController:animated:completion:]_block_invoke_2 4 UIKitCore 0x102329c +[UIView(Animation) performWithoutAnimation:] 5 UIKitCore 0x47d720 __63-[UIViewController _presentViewController:animated:completion:]_block_invoke 6 UIKitCore 0x496754 -[_UIViewControllerTransitionCoordinator _applyBlocks:releaseBlocks:] 7 UIKitCore 0x492ff0 -[_UIViewControllerTransitionContext _runAlongsideCompletions] 8 UIKitCore 0x492d1c -[_UIViewControllerTransitionContext completeTransition:] 9 UIKitCore 0xfcfee4 -[_UIAfterCACommitBlock run] 10 UIKitCore 0xb3f9c4 _runAfterCACommitDeferredBlocks 11 UIKitCore 0xb2ee90 _cleanUpAfterCAFlushAndRunDeferredBlocks 12 UIKitCore 0xb601e0 _afterCACommitHandler 13 CoreFoundation 0x99c40 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ 14 CoreFoundation 0x94270 __CFRunLoopDoObservers 15 CoreFoundation 0x9480c __CFRunLoopRun 16 CoreFoundation 0x93ed0 CFRunLoopRunSpecific 17 GraphicsServices 0x3570 GSEventRunModal 18 UIKitCore 0xb302d0 -[UIApplication _run] 19 UIKitCore 0xb3584c UIApplicationMain 21 libdyld.dylib 0x1140 start
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:8 (4 by maintainers)
Top GitHub Comments
I am using react-native : 0.63.4 I had update react-native-reanimated version from 1.13.2 to 2.2.3 and issue was resolved.
I am using react Native 0.66.1 I had the same bug on all my components and third-party components using react-native-modal. As you mentioned before the solution, for now, is to install react-native-reanimated@2.2.3