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

Picker's list has shadow in react native 0.39. #14

Open
webdeveloper0429 opened this issue Dec 4, 2016 · 12 comments
Open

Picker's list has shadow in react native 0.39. #14

webdeveloper0429 opened this issue Dec 4, 2016 · 12 comments

Comments

@webdeveloper0429
Copy link

untitled
how do I fix this?

@webdeveloper0429 webdeveloper0429 changed the title Picker's list has shadow. Picker's list has shadow in react native 0.39. Dec 5, 2016
@shaikhussian
Copy link

@starcraft0429 Facing the issue in Picker List. If you have solved the issue please give the suggestions to solve the problem.

@webdeveloper0429
Copy link
Author

@shaikhussian , do you have same issue?

@shaikhussian
Copy link

yes, I am also facing the same issue. Can you give me the suggestions ?

@webdeveloper0429
Copy link
Author

I have no idea to solve it,
do you have any suggestion?

@svandenhout
Copy link

React-native from 0.36 and up has a problem where overflow: 'hidden' doesn't work without setting background: 'transparent' on the same component. I added background: 'transparent' to the styles of the correct components and the picker in node_modules/react-native-picker-android/index.js and everything looks fine now.

The project looks pretty abandoned so I won't try uploading a pull request.

@webdeveloper0429
Copy link
Author

@svandenhout thanks for your reply.
so where style do I insert backgroundColor: 'transparent'?

@svandenhout
Copy link

@starcraft0429 At all the styles that apply overflow: 'hidden'

@webdeveloper0429
Copy link
Author

Thank you a lot @svandenhout

jrwm added a commit to jrwm/react-native-picker-android that referenced this issue Dec 28, 2016
@jrwm
Copy link

jrwm commented Dec 28, 2016

I have fixed it in my fork. Try it https://github.com/jrwm/react-native-picker-android

@webdeveloper0429
Copy link
Author

@jrwm!
Did you fix issue on your github source code?
So is it possible to use your component without any adding style?

@jrwm
Copy link

jrwm commented Dec 28, 2016

@starcraft0429 yes, just replace
"react-native-picker-android": "^1.0.3"
for
"react-native-picker-android": "[email protected]:jrwm/react-native-picker-android.git"
in your package.json

@HotSpotNick
Copy link

@starcraft0429 you are the man

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

5 participants