Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS - Modal not working in landscape and FLATLIST in iOS is behind the view #739

Open
sudheerkarumanchi opened this issue Feb 5, 2024 · 0 comments

Comments

@sudheerkarumanchi
Copy link

Appreciate for the nice drop down picker with huge list of props/params.

We are facing an issue with iOS - FLATLIST is behind the view in iOS devices even though used zIndex. To overcome this issue, used Modal but this is not changing the orientation in landscape.

Below is the code snippet for reference.

<DropDownPicker open={openFilterDropdown} value={selectedType} items={items} setOpen={setOpenFilterDropdown} setValue={setSelectedType} listMode={Platform.OS === "ios" ? "MODAL" : "FLATLIST"} onChangeValue={(item: any) => { handleItemSelect(item); }} labelStyle={{ fontSize: 15, color:'white', }} style={{ backgroundColor: "", borderWidth: 0, padding: 0, }} arrowStyle={{ marginRight: 10 }} containerStyle={{ width:100 }} zIndex={9999} />

Please suggest an alternate approach or thought here. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant