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

ps-table: Nested Mat-Menu's in Table-Actions do not work properly since 2.0.0-alpha.13 #178

Open
schoenj opened this issue Apr 28, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@schoenj
Copy link
Contributor

schoenj commented Apr 28, 2021

Hi,

Mat-Menu's do not work properly together with the new Table-Action-System.
Every second level item closes itself immediatly after clicking on the parent.

Expected (v 2.0.0-alpha.12)

expected

Actual (v 2.0.0-alpha.13)

actual

Steps for reproduction

Add following code into *psTableRowAction and ensure that MatMenuModule is imported
<button mat-menu-item [matMenuTriggerFor]="myMenu"> My Test Action <mat-menu #myMenu="matMenu"> <button mat-menu-item> Nested 1 </button> <button mat-menu-item> Nested 2 </button> </mat-menu> </button>

@Yirica Yirica added the bug Something isn't working label Jun 10, 2021
@schoenj
Copy link
Contributor Author

schoenj commented Jul 1, 2021

I think this issue cannot be solved because of limitations at the mat menu component (nesting mat-menus over multiple components are not possible). So we need to implement #177

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants