Some menu components not supporting ctrl click to open new duplicate screen #10919
Labels
LTS-PORTABLE
Issue's fix will be ported to supported LTS versions
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Current behavior
Control click on a menu item does not open a new page with the menu item selected rendered.
Expected behavior
New tab opened with selected page showing.
Minimal reproduction of the problem with instructions
The issue is caused by prevent default being blocked when the router link is used and control key & click is pressed.
Code change to stop hiding ctrl key being pressed:
What is the motivation / use case for changing the behavior?
My clients use this to open new screens from menus a lot.
Please tell us about your environment:
Windows chrome users
Angular 12
Prime 12
Chrome and firefox
Language: [all | TypeScript X.X | ES6/7 | ES5]
Node (for AoT issues):
node --version
=The text was updated successfully, but these errors were encountered: