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

CSS min-height not updating #330

Closed
antmarot opened this issue Oct 1, 2013 · 0 comments
Closed

CSS min-height not updating #330

antmarot opened this issue Oct 1, 2013 · 0 comments
Milestone

Comments

@antmarot
Copy link

antmarot commented Oct 1, 2013

Hello,

There is an issue with the setSize function: it sets a css min-height property to minHeight - menuPadding, which means that negative values are possible. Unfortunately negative values for that property are ignored by my browser (latest chrome), and therefore not updated. It results in an inappropriate height when I dynamically change the number of options.

I fixed this issue by setting the property to Math.max(minHeight - menuPadding, 0) instead.

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