Skip to content

Let middle click be handled by browser #756

Closed
@rashfael

Description

@rashfael

A middle click on a router-link does not open a new tab (normal behaviour for <a>) but instead navigates in the current tab in v2.

This worked in v1, handled by this code:
https://github.com/vuejs/vue-router/blob/1.0/src/directives/link.js#L100

Right-clicking and selecting "Open link in new tab" does work, only adding to user confusion.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions