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

[Menu] Define how many elements can be displayed (overflow) #679

Open
kud opened this issue Nov 19, 2019 · 1 comment

Comments

@kud
Copy link

@kud kud commented Nov 19, 2019

Hello :)

On <Menu>, it could be great to have an overflow and define how many items you want to be displayed on the screen, because I've got like 200 items and it takes the whole website.

Is there any way to do this?

Thank you.

@mshwery

This comment has been minimized.

Copy link
Contributor

@mshwery mshwery commented Nov 19, 2019

Menu doesn't support additional ui-box props unfortunately, so you would have to wrap your Menu in Pane and specify the maxHeight and overflow props on that component instead. Would that work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.