lawnstarter / react-native-picker-select

🔽 A Picker component for React Native which emulates the native <select> interfaces for iOS and Android
https://npmjs.com/package/react-native-picker-select
MIT License
1.74k stars 497 forks source link

Using elevation on inputAndroidContainer causes tappable textInput to not work as expected #444

Open craigwduckett opened 3 years ago

craigwduckett commented 3 years ago

Describe the bug
Adding elevation: n to the inputAndroidContainer styling causes the textinput to not be clickable and a very small area above the textbox to be clickable if the inputAndroidContainer is also give a height and marginTop. Otherwise its unusable.

To Reproduce
Using the provided snake from the readme https://snack.expo.io/@lfkwtz/react-native-picker-select and add

inputAndroidContainer: {
    marginTop: 10,
    height: 45,
    elevation: 4,
},

Expected behavior
Clicking on the tappable TextInput would bring up the picker options

Screenshots
abkGZ1LEdJ

Additional details

Reproduction and/or code sample
Using the provided snake from the readme https://snack.expo.io/@lfkwtz/react-native-picker-select and add

inputAndroidContainer: {
    marginTop: 10,
    height: 45,
    elevation: 4,
},
JoeMartin2001 commented 3 years ago

Same here

JoeMartin2001 commented 3 years ago

Any solutions?

carlosriveroib commented 1 year ago

2 years without updates in this repo....