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

Prevent dropdown from going off screen #96

Open
talon-himself opened this issue Mar 22, 2018 · 3 comments
Open

Prevent dropdown from going off screen #96

talon-himself opened this issue Mar 22, 2018 · 3 comments

Comments

@talon-himself
Copy link

talon-himself commented Mar 22, 2018

When I have a dropdown near the bottom or top of the screen and it contains many options, the dropdown options list goes off the screen. How do I prevent it from going off the screen? dropdownPosition would need to calculate the position because right now adding that prop will apply the same position to all dropdowns. I believe this dropdown has this functionality: https://github.com/sohobloo/react-native-modal-dropdown

@dongawli
Copy link

dongawli commented Aug 7, 2018

Any update here please?
Here is the issue I am facing -
image

@dongawli
Copy link

dongawli commented Aug 7, 2018

I've fixed the issue by adding dropdownPosition={0}..

Thank you.

@tienping
Copy link

tienping commented Jul 8, 2019

thanks @dongawli for the answer, it work for me

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

3 participants