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

Disable dynamic position option? #14

Closed
reilem opened this issue Sep 9, 2017 · 1 comment
Closed

Disable dynamic position option? #14

reilem opened this issue Sep 9, 2017 · 1 comment

Comments

@reilem
Copy link

reilem commented Sep 9, 2017

Thank you so much for making this library, the material design fits really well into android apps. However I feel like the dynamic positioning is rather irritating. I feel like a user would expect a dropdown to appear at the same position every time. An option to turn this off would be splendid. The dynamic positioning also sometimes causes the drop down list to go underneath the status bar.

Sorry if this option is already present but I couldn't find anything about it in the docs. Alternatively if you can find a way to just prevent the dropdown from going under the status bar that would great as well.

@n4kz
Copy link
Owner

n4kz commented Sep 11, 2017

Thanks for issue! Added new prop dropdownPosition with optional numeric value. Positive and zero values fix dropdown position on Nth item counting from top and negative values do the same from bottom.

Released in 0.4.0.

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

2 participants