adammcarth / react-native-segmented-picker

Selection picker wheel with multi-column support and optional native dependencies.
MIT License
96 stars 31 forks source link

Fix two separate crashes for the native iOS module #31

Closed adammcarth closed 3 years ago

adammcarth commented 3 years ago

This patch fixes two separate crashes the occurred for users who had opted into the native flag for iOS builds.

  1. 29 A crash which occurred on the new iOS 14. The design for the UIPickerView has been completely overhauled and so the module needed to account for new subview structures.

  2. 30 A crash which occurred when dynamically changing columns added more columns than were previously present. This was due to the current selections not being read at the appropriate time.