react-native-picker-select icon indicating copy to clipboard operation
react-native-picker-select copied to clipboard

iOS Unresponsive after opening picker

Open Humad opened this issue 4 years ago • 2 comments

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

  • 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

Humad avatar Oct 08 '21 04:10 Humad

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

lahivee avatar Oct 09 '21 18:10 lahivee

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

ricbermo avatar Nov 12 '21 16:11 ricbermo