Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop router-link navigation if ctrl-keys or other mouse buttons are clicked. (fix #756) #758

Merged
merged 1 commit into from
Oct 13, 2016
Merged

Stop router-link navigation if ctrl-keys or other mouse buttons are clicked. (fix #756) #758

merged 1 commit into from
Oct 13, 2016

Conversation

LinusBorg
Copy link
Member

@LinusBorg LinusBorg commented Oct 11, 2016

Fixes #756

Code is simply copied from 1.0's v-link directive.

Can't test this in Nightwatch as it provides no API to simulate different kinds of mouse events or key presses, at least I don't know how.

@LinusBorg LinusBorg changed the title Stop router-link navigation if ctrl-keys or other mouse buttons are clicked. Stop router-link navigation if ctrl-keys or other mouse buttons are clicked. (fix #756) Oct 11, 2016
@yyx990803 yyx990803 merged commit 2dde5bb into vuejs:dev Oct 13, 2016
@LinusBorg LinusBorg deleted the fix_router-link_middle_click branch January 29, 2017 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants