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

Scroll apply when context menu item size increases #194

Open
dhavalsolankislk opened this issue Feb 7, 2020 · 1 comment
Open

Scroll apply when context menu item size increases #194

dhavalsolankislk opened this issue Feb 7, 2020 · 1 comment

Comments

@dhavalsolankislk
Copy link

Hello,
We are using ngx context menu. We have problem when we are using small size screen and context menu have more item in it. So some of the items are not seen/cut in small screen.
So is there any way we can add scroll inside the context menu.

@nagamanoj
Copy link

nagamanoj commented Feb 10, 2020

Hello,
We are also facing similar issue. Is it possible to scroll to item with keyboard event? or are the keyboard event already exposed ?

I am using css to set max height and overflow properties of context menu.
.ngx-contextmenu > ul.dropdown-menu { overflow-y: scroll; max-height: 30vh; }

Here is a sample StacBlitz to play with.

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