Nothing happening after clicking DropDownPicker
See original GitHub issueNothing is happing when I clicked on DropDownPicker.
<DropDownPicker
items={[
{ label: 'Select Issue Level', value: 'Select Issue Level', icon: () => <Image source={myImages.select_issue} style={styles.iconStyle} /> },
{ label: 'Very important', value: 'Very important', icon: () => <Image source={myImages.select_issue} style={styles.iconStyle} /> },
{ label: 'Medium level', value: 'Medium level', icon: () => <Image source={myImages.select_issue} style={styles.iconStyle} /> },
{ label: 'Information', value: 'Information', icon: () => <Image source={myImages.select_issue} style={styles.iconStyle} /> },
]}
value={issue}
containerStyle={{ marginTop: 20 }}
labelStyle={styles.labelStyle}
style={{ backgroundColor: '#D8D8D8', height: 70, borderRadius: 14 }}
itemStyle={{
justifyContent: 'flex-start'
}}
ArrowDownIconComponent={({ style }) => <Image source={myImages.arrow_down} style={{
margin: 10,
justifyContent: 'center',
alignItems: 'center',
}} />}
placeholderStyle={{
fontSize: 15,
fontFamily: "Montserrat-Regular",
fontWeight: '700',
color: '#30313F'
}}
onChangeItem={item => setIssue(item.value)}
/>
I just updated
"react-native-dropdown-picker": "^5.1.19",
What’s wrong here ?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:26 (3 by maintainers)
Top Results From Across the Web
unable to select item from react-native-dropdown-picker
am using React-native-dropdown-picker, however am unable to select any item from the dropdown list, the items are being overlapped by the ...
Read more >How to use react-native-picker-select - LogRocket Blog
Each item is an object with a label and value property. The items appear as options rendered to the user when the select...
Read more >In IOS 15 We have facing some dropdown issue
Most of the time, the drop downs work, but occasionally, when you click on a drop down, nothing appears to happen. But if...
Read more >Creating A Custom Dropdown Picker - Trailing Closure
Start off by creating a new SwiftUI View named DropdownPicker . Like the built-in iOS ... Right now if you tap the row,...
Read more >DateTimePicker and MinDate in UI for WinForms - Telerik
I can not select the minimum date from the dropdown picker. ... This does not happen if I click on a date earlier...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I am having the same issue here. When I open a dropdownpicker and click on one of the items to select, a component underneath it that actually receives the touch. I have setOpen, setValue and onChangeValue set as props on the picker.
I’m having the same issue. The problem is that when the picker is drawn over other items, only on android, you can’t click the drop down. For example, here’s a simple reproduction:
If I remove flex-end from the dropdown parent and increase it’s flex, then the entire dropdown is clickable, and it is drawn inside its own view.
When adding flex-end, it doesnt work any more on android , even though the zindex shows its being drawn above the other view, it’s just not clickable.
I’ve tried solutions in other issues but can’t seem to figure this out yet.