Closed lukeharvey closed 2 years ago
Turns out the issue was not reproducible in a clean React Native build, which made me think it must be a local Android config setting. In our android/app/src/main/values/styles.xml
file we had the following line <item name="android:spinnerStyle">@style/Widget.AppCompat.Spinner.Underlined</item>
(possibly left over from an old React Native version), and removing that line appears to fix the issue
While attempting to upgrade this package in my app to the latest version, I noticed that the
selectedValue
no longer appears in the Android picker indropdown
mode. By a process of elimination, it seems that the issue was introduced in v1.10.0 and probably as a result of https://github.com/react-native-picker/picker/issues/195In v1.9.18, the selected value correctly appears
However, in v1.10.0+, the selected value no longer appears