Skip to content
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

dropdown items are untouchable outside of parent view in android #85

Closed
pfndesign opened this issue Aug 15, 2020 · 3 comments
Closed

dropdown items are untouchable outside of parent view in android #85

pfndesign opened this issue Aug 15, 2020 · 3 comments

Comments

@pfndesign
Copy link

pfndesign commented Aug 15, 2020

dropdown items are untouchable in android. you can touch part of the item that is inside of the parent view but not outside it.
I tried everything that was mentioned in the FAQ section and none of them worked

stack expo

@hossein-zare
Copy link
Owner

hossein-zare commented Aug 15, 2020

Hello,

DropDownPicker wrapped by <View style={{backgroundColor: '...'}}>
Remove the backgroundColor from the parent element.
#40 (comment)
borderRadius included.

I commented out all the lines causing issues.
Note that React Native is responsible for the unexpected behavior!
https://snack.expo.io/t!9Z1an0!

@pfndesign
Copy link
Author

pfndesign commented Aug 15, 2020

Hello,

DropDownPicker wrapped by <View style={{backgroundColor: '...'}}>
Remove the backgroundColor from the parent element.
#40 (comment)
borderRadius included.

I commented out all the lines causing issues.
Note that React Native is responsible for the unexpected behavior!
https://snack.expo.io/t!9Z1an0!

thanks, your changes fixed the issue for me but I had to reload the app too to see the difference.
it sucks that we can't use borderRadius or backgroundColor for parent view but that can be fixed with an absolute view as the background.
also ارادت و تشکر

@yogendrajs
Copy link

@hossein-zare it would've been very great to know what did you modify in the code, as the expo link is no longer found to be working

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

3 participants