Skip to content

Style picker dialog height on Android #470

Open
@flora8984461

Description

@flora8984461

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions