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

Scrollable dropdown #60

Closed
Eddolan opened this issue Jul 31, 2015 · 1 comment
Closed

Scrollable dropdown #60

Eddolan opened this issue Jul 31, 2015 · 1 comment

Comments

@Eddolan
Copy link

Eddolan commented Jul 31, 2015

I am using this to make a dropdown for U.S. states and the issue is that with 50 options the dropdown is awkwardly large. Does angular-dropdowns have the ability to make the dropdowns smaller and scrollable ?

@jseppi
Copy link
Owner

jseppi commented Jul 31, 2015

You can add CSS rules to make the options container scrollable, for example:

.dropdown {
  max-height: 400px;
  overflow-y: auto;
}

@jseppi jseppi closed this as completed Jul 31, 2015
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