lawnstarter / react-native-picker-select

🔽 A Picker component for React Native which emulates the native <select> interfaces for iOS and Android
https://npmjs.com/package/react-native-picker-select
MIT License
1.74k stars 497 forks source link

iOS Unresponsive after opening picker #459

Open Humad opened 2 years ago

Humad commented 2 years ago

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:

  1. Open picker
  2. Select something
  3. Close picker
  4. App is now unresponsive (because there is a transparent modal overlay)

Expected behavior
App should continue to be responsive

Screenshots
Oct-07-2021 21-31-24 (Ignore the failed prop warning, that's for another thing)

Additional details

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

lahivee commented 2 years ago

I have the same issue on RN 0.66. The app just freezes

ricbermo commented 2 years ago

This is an issue on RN https://github.com/facebook/react-native/pull/32450