react-native-picker-android
react-native-picker-android copied to clipboard
Picker's list has shadow in react native 0.39.
how do I fix this?
@starcraft0429 Facing the issue in Picker List. If you have solved the issue please give the suggestions to solve the problem.
@shaikhussian , do you have same issue?
yes, I am also facing the same issue. Can you give me the suggestions ?
I have no idea to solve it, do you have any suggestion?
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.
@svandenhout thanks for your reply. so where style do I insert backgroundColor: 'transparent'?
@starcraft0429 At all the styles that apply overflow: 'hidden'
Thank you a lot @svandenhout
I have fixed it in my fork. Try it https://github.com/jrwm/react-native-picker-android
@jrwm! Did you fix issue on your github source code? So is it possible to use your component without any adding style?
@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
@starcraft0429 you are the man