This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-0edb8144-395e-4667-b648-520496af6c86 XWIKI-22789 Open

Ctrl + click does not work on links in the QuickSearch dropdown

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-f850decb-80a1-4db4-8ab3-d8b32777a700 Charpentier Lucas created this issue on 16/Jan/25 12:05
 
Summary: Ctrl + click does not work on links in the QuickSearch dropdown
Issue Type: cid:jira-generated-image-avatar-0edb8144-395e-4667-b648-520496af6c86 Bug
Affects Versions: 16.10.2
Assignee: Unassigned
Components: Search - Generic
Created: 16/Jan/25 12:05
Labels: usability
Priority: cid:jira-generated-image-static-minor-e15a7362-dec7-4b2c-8e60-2c68c13c36ab Minor
Reporter: Charpentier Lucas
Description:

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.