react-native-picker-android icon indicating copy to clipboard operation
react-native-picker-android copied to clipboard

Picker's list has shadow in react native 0.39.

Open webdeveloper0429 opened this issue 9 years ago • 12 comments

untitled how do I fix this?

webdeveloper0429 avatar Dec 04 '16 22:12 webdeveloper0429

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

shaikhussian avatar Dec 07 '16 12:12 shaikhussian

@shaikhussian , do you have same issue?

webdeveloper0429 avatar Dec 07 '16 12:12 webdeveloper0429

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

shaikhussian avatar Dec 08 '16 04:12 shaikhussian

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

webdeveloper0429 avatar Dec 08 '16 11:12 webdeveloper0429

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 avatar Dec 09 '16 17:12 svandenhout

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

webdeveloper0429 avatar Dec 09 '16 19:12 webdeveloper0429

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

svandenhout avatar Dec 09 '16 20:12 svandenhout

Thank you a lot @svandenhout

webdeveloper0429 avatar Dec 11 '16 01:12 webdeveloper0429

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

jrwm avatar Dec 28 '16 16:12 jrwm

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

webdeveloper0429 avatar Dec 28 '16 16:12 webdeveloper0429

@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

jrwm avatar Dec 28 '16 16:12 jrwm

@starcraft0429 you are the man

HotSpotNick avatar May 02 '18 13:05 HotSpotNick