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

Issue with transition and link anchor #1262

Closed
stefanodotit opened this issue Mar 17, 2017 · 2 comments
Closed

Issue with transition and link anchor #1262

stefanodotit opened this issue Mar 17, 2017 · 2 comments

Comments

@stefanodotit
Copy link

I've some problem with router-view and transition, if I remove the tag from it work perfectly, but if I insert a animation the link anchor doesn't work.
It seem the anchor tag don't "wait" a transition delay
Link to jsfiddle to test it => http://jsfiddle.net/qw4hbgek/

@posva
Copy link
Member

posva commented Mar 17, 2017

Hi! Please ask questions on the forum or StackOverflow.


You'll probably have to do the jump yourself. You could setup a beforeEach hook and add a query parameter to handle the jump. Something similar what docute does: https://github.com/egoist/docute/blob/master/src/utils/jump.js but without Vuex

@posva posva closed this as completed Mar 17, 2017
@posva
Copy link
Member

posva commented Mar 17, 2017

On second thought, I think this could be improved vue-router's side, I'll open a new issue for it

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

No branches or pull requests

2 participants