Skip to content

Open-in-New-Tab behavior inconsistent when opening projects from project list

Summary

When opening a project from the project list, there is inconsistent behavior when attempting to open the group in a new tab. The behavior varies when clicking the anchor versus the container itself.

Steps to reproduce

  1. Navigate to project list such as https://gitlab.com/gitlab-org/language-tools/go/linters
  2. Use Cmd/Ctrl+Click to open project in new tab by clicking project name anchor (happy path)
  3. Use Cmd/Ctrl+Click to open project in new tab by clicking project name container (sad path) -> opens in same tab

Example Project

https://gitlab.com/gitlab-org/language-tools/go/linters

What is the current bug behavior?

Cmd+Click is not respected and link is opened in current tab

What is the expected correct behavior?

Cmd+Click should open link in new tab

Relevant logs and/or screenshots

Green click works, red click doesn't

Screen_Shot_2020-09-29_at_9.24.38_AM

Output of checks

This bug happens on GitLab.com

Possible fixes