Skip to content

Control not showing values on Android with useNativeAndroidPickerStyle=true #364

Open
@jenniferburch

Description

@jenniferburch

Describe the bug

On Android, the control does not show a selected value if useNativeAndroidPickerStyle=true and no style is provided, the control is working otherwise (onValueChange is reporting successfully). Also note that using textInputProps is a work around.

To Reproduce

I've made a sample app here: https://github.com/jenniferburch/scratch-mobile/tree/picker-select

  1. npm install
  2. npm run start
  3. npm run android
  4. there will be five pickers on screen, the first one is not working

Expected behavior

As the items are selected in the picker their values should show up in the resulting control

Screenshots

Screen Shot 2020-09-24 at 11 55 23 AM

Additional details

  • Android only
  • react-native version v63.2
  • react-native-picker-select version v8.0
  • @react-native-community/picker v1.8.0"

Reproduction and/or code sample

https://github.com/jenniferburch/scratch-mobile/tree/picker-select

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions