react-native-picker
react-native-picker copied to clipboard
At second open, the wheels won't show up
Hi ! Thanks for the good work on this RN module!
Here is my issue:
- ✅ When calling
initthenshow, the Picker shows up an displays the wheels - ❌ When pressing "Cancel", the wheels disappear and the Picker slides down Expected behavior: the Picker slides down (no disappearing of the wheels)
- ❌ When opening the Picker again, the wheels are still hidden Expected behavior: the wheels are visible
Workaround Each time we want to show the Picker, reinit it just before calling show.
Hello, I have the exact same issue.
After onPickerCancel i call Picker.init, this solves my problem.
thanks AlexMubarakshin, he methods is can run
hi @Domingowen , @AlexMubarakshin when call Picker init in fuc cancel it will remove select current