Skip to content

Picker drawer not showing any item on iOS #655

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Bawenang opened this issue Feb 2, 2025 · 3 comments
Open

Picker drawer not showing any item on iOS #655

Bawenang opened this issue Feb 2, 2025 · 3 comments

Comments

@Bawenang
Copy link

Bawenang commented Feb 2, 2025

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 }}
/>
@grubengraeber
Copy link

Did you find a solution yet?

@knasirayaz
Copy link

Use darkTheme={false} or set modalViewBottom background color to black.

@vladimirivanoviliev
Copy link

Seems related to react-native-picker/picker#612.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants