When right clicking on a link, the user can, as expected, open the link in a new tab. However, when Ctrl + left clicking the link, instead of opening in a new page as expected, it opens in the current page. I see two solutions to that: 1. Remove the custom code we have in a click event handler for the link and rely on the native behaviour of a button. 2. Add a clause in the listener so that it can open the link in a new tab if the Ctrl key is held down at the time of click. |