Skip to content

The external link inside a notification never opens in a new tab #3737

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

The external link inside a notification never opens in a new tab. Cause: In Notifications.vue the <a :href="el.link" target="_blank"> is nested inside the item's router-link, whose click handler calls preventDefault.

Reproduction Steps

  1. Get a notification that carries an external link.
  2. Click that link inside the notification.

Expected Outcome

The link opens in a new tab.

Actual Outcome

The app navigates in-app to the notification target instead (found during the PR browser tests).

Screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions