zIndex has no effect
See original GitHub issueUsing iOS simulator the dropdowns are going behind my other text inputs on the screen when open. I’ve set the zIndex as high as 50000 with no luck.
<DropDownPicker items={[ { label: "1", value: 1 }, { label: "2", value: 2 }, { label: "3", value: 3 }, { label: "4", value: 4 }, { label: "5", value: 5 }, ]} containerStyle={{ marginHorizontal: 12, marginVertical: 10, flex: 1, width: "50%", }} zIndex={50000} defaultNull placeholder="Total Courts" onChangeItem={(item) => console.log(item.label, item.value)} />
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)

Top Related StackOverflow Question
Hey guys, zIndex still does not work as of v2.1.3, however you can put zIndex as a style in a View component:
@plaporte @hossein-zare
I think the problem occurs when nesting in a scrollview!