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

At second open, the wheels won't show up

Open tpucci opened this issue 7 years ago • 3 comments

Hi ! Thanks for the good work on this RN module!

Here is my issue:

  • ✅ When calling init then show, 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.

tpucci avatar Jun 18 '18 13:06 tpucci

Hello, I have the exact same issue.

After onPickerCancel i call Picker.init, this solves my problem.

AlexMubarakshin avatar Jun 03 '19 16:06 AlexMubarakshin

thanks AlexMubarakshin, he methods is can run

Domingowen avatar Dec 10 '19 14:12 Domingowen

hi @Domingowen , @AlexMubarakshin when call Picker init in fuc cancel it will remove select current

cenaHara avatar Oct 27 '20 06:10 cenaHara