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

Style picker dialog height on Android

Open flora8984461 opened this issue 3 years ago • 2 comments

This is a nice library and works well with IOS. Is it possible to set maxHeight/Height for the picker dialog on Android? I have a long selection list and it will take up almost my whole screen. I tried with headlessAndroidContainer and viewContainer, both not working; and I have set the prop useNativeAndroidPickerStyle to false.

I also tried to change the style.xml but couldn't make it.

Thanks in advance!

Is your feature request related to a problem? Please describe.
I have a long selection list and it will take up almost my whole screen. I tried with headlessAndroidContainer and viewContainer, both not working; I also tried to set MaxHeight in pickerProps = {{ }}, it only changed the Input box height;

an example of the long list picker: 1637548464(1)

Describe the solution you'd like
I am thinking it would be nice we have a height / maxHeight and maybe also width/maxWidth in the PickerStyle.

Describe alternatives you've considered

Additional details
Add any other details or screenshots about the feature request here.

flora8984461 avatar Nov 22 '21 02:11 flora8984461

Any updated ?

ThanhNam20 avatar Aug 23 '22 07:08 ThanhNam20

Any updated ?

+1

caglardurmus avatar Jan 18 '23 10:01 caglardurmus