Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fragment routing is not working #13636
I'm trying to add an anchor link on my current angular2 app.
I've been playing with https://angular.io/resources/live-examples/router/ts/eplnkr.html and doesn't seem to be working too.
I followed step by step the tutorial on the routing documentation...
Can you provide any help?
@bjornharvold : You can paste the below work around inside the
This problem is still present in version 4.3.1.
Here's a small plunker to demonstrate it. (Suggest to run the plunk in a separate window to see the url changes).
referenced this issue
Aug 14, 2017
Ran into this issue, using the answers here I came up with this for now. In my case I also had to give a little time for an element to show before I could scroll to it hence the little setTimeout hack.