Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-22789

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 16.10.2
    • Search - Generic
    • Unknown

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Lucas C Charpentier Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: