Skip to content

Picker drawer not showing any item on iOS #655

Open
@Bawenang

Description

@Bawenang

Describe the bug

Picker drawer is showing but the item is empty

To Reproduce

Steps to reproduce the behavior:

  1. Run the app
  2. Click on RNPickerSelect Component
  3. Picker drawer shows up but it is empty

Expected behavior

The picker drawers should've rendered the items.

Screenshots

Image

Additional details

  • Device: iPhone 16 Pro Simulator
  • OS: iOS 18
  • react-native-picker-select version: 9.3.1
  • react-native version: 0.76.6
  • expo sdk version: 52.0.25

Reproduction and/or code sample

enum TaskPriority {
  LOW = 'LOW',
  MEDIUM = 'MEDIUM',
  HIGH = 'HIGH',
}

<RNPickerSelect
  textInputProps={{ pointerEvents: 'none' }}
  onValueChange={(value) => setPriority(value)}
  items={
    [
      { label: 'LOW', value: TaskPriority.LOW },
      { label: 'MEDIUM', value: TaskPriority.MEDIUM },
      { label: 'HIGH', value: TaskPriority.HIGH },
    ]
  }
  style={pickerSelectStyles}
  placeholder={{ label: "Select priority", value: null }}
/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions