-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Make the menu scrollable #4837
Comments
try add a classname to the ul, it should work |
What do you mean with classname? Any classname? |
I have already tried this:
(therefore the red color) |
overflow needs to work with at least a height value |
I know, but I do not want to give the menu a fixed height, because I do not know the offset from the top nor the height the of the window. Therefore the feature request to solve it with inside the component. The component should calculate if it overflows the window and then set the height accordingly and add overflow-y: auto or so. |
Remove/Comment .app-layout { .inner-content { or if you want to scroll in inner-content div |
What problem does this feature solve?
Hi, I am evaluating ng-zorro and it looks awesome, but i have a few menus with a lot of items. Is there a way to make them scrollable?
What does the proposed API look like?
There is no need a for an API change
Example screen with shows the issue:
The text was updated successfully, but these errors were encountered: