-
Notifications
You must be signed in to change notification settings - Fork 298
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
When Dropdown opens, dropdown container not taking z index, its not on the top of the below view #562
Comments
Try this:
|
Same for me. It happens only when the dropdown opens to the bottom |
¡This worked for me! |
Hi there,
Is it reasonable that we only apply the ZIndex to the DropDownBodyComponent? |
This hasn't work for me either |
I fixed this problem from #450 (comment) |
Understanding the following helped me achieve the desired out in React Native
|
If trying this, |
still didn't work on IOS |
I'm still having this issue. If the dropDownDirection is Bottom then no matter where I set my zIndex it's always behind my other inputs. If I set it to Top it works fine. Very frustrating.... |
If you're using the Dropdown component inside a FlatList, it seems that the height(z-index) is set according to the rendering order of the FlatList, and it cannot be changed using z-index. Although it's not a perfect solution, I resolved the issue by reversing the order of the FlatList's data and applying the {flexDirection: 'column-reverse'} property! |
Dropdown container forcing below content go down when opens dropdown. not able to apply z index
The text was updated successfully, but these errors were encountered: