Isaac Mann
Isaac Mann
Nevermind. My solution works for clicking, but not for keyboard navigation. You can basically put `(click)="$event.stopPropagation()"` on the checkbox to prevent the click from closing the menu, but keyboard navigation...
Put it on the `(click)` event on the checkbox itself. Like this: ``` Say hi ```
I agree. A better solution would be to give the execute event a way to be cancelled. But that would require a PR to the library.
Great. Before you start coding the PR, open an issue and layout your general plan so that I can give feedback. I always appreciate help.
Short answer: Yes, you need the setTimeout. Long answer: I haven't seen anyone try to do something like this, but here's what I'm guessing is happening. Without the setTimeout: 1....
Yes, that's a valid use case and I agree that the `` should handle it more elegantly, but it currently doesn't. Want to submit a PR to update the docs?...
Try something like this: ```css .ngx-contextmenu > ul { overflow: auto; max-height: 200px; } ```
That would be a nice feature to add. Interested in working on a PR? I can guide you through it.
I think there are important parts of your code that I'm missing, but this could work for you: ``` this.hidenMe=false; setTimeout(() => { this.contextMenuService.show.next({ event: $event, item: { item, index...
I'm using `ngx-contextmenu` in an material app too. These are the styles I'm using. You may need to tweak them to fit your app. ```scss .ngx-contextmenu { > ul {...