react-native-picker-select
react-native-picker-select copied to clipboard
iOS Unresponsive after opening picker
Describe the bug
Closing the picker (on iOS) causes screen to become unresponsive. This is because it uses a Modal underneath the hood. There is an issue with modals on iOS right now where they fail to close.
See https://github.com/facebook/react-native/issues/32329
To Reproduce
Steps to reproduce the behavior:
- Open picker
- Select something
- Close picker
- App is now unresponsive (because there is a transparent modal overlay)
Expected behavior
App should continue to be responsive
Screenshots
(Ignore the failed prop warning, that's for another thing)
Additional details
- Device: iPhone 8 simulator
- OS: iOS 14
- react-native-picker-select version: 8.0.4
- react-native version: 0.66
- expo sdk version: 42
Reproduction and/or code sample
Unable to reproduce this on Snack. The issue only exists when the app is built by Xcode.
Still made a snack link: https://snack.expo.dev/RvLrL8GMv
I have the same issue on RN 0.66. The app just freezes
This is an issue on RN https://github.com/facebook/react-native/pull/32450