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

Dropdown max height #2109

Merged
merged 5 commits into from
Jul 6, 2022
Merged

Dropdown max height #2109

merged 5 commits into from
Jul 6, 2022

Conversation

AnnMarieW
Copy link
Collaborator

Adds the maxHeight prop for the Dropdown options menu
closes [#1971]
closes dash-core-components #785

Contributor Checklist

  • I have run the tests locally and they passed.
  • I have added tests, or extended existing tests, to cover any new features or bugs fixed in this PR
  • I have added entry in the CHANGELOG.md

Are there any other props that should be added now that I'm in the neighborhood? There was a request to change the height for each option, which would be great. It's possible to use a function for optionHeight in the underlying React component, but I that's not supported in dash?

@AnnMarieW AnnMarieW requested a review from alexcjohnson as a code owner June 29, 2022 14:18
Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💃 Thanks @AnnMarieW !

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

Successfully merging this pull request may close these issues.

update Dropdown to accept maxHeight prop
2 participants