I have a code as shown as below,
I want to close the mat-menu when the focus goes out of the menu items.
When keyboard focus moves to the next element outside the menu, the menu should be closed.
How can I achieve that?
I have a code as shown as below,
I want to close the mat-menu when the focus goes out of the menu items.
When keyboard focus moves to the next element outside the menu, the menu should be closed.
How can I achieve that?