Closed jeme closed 10 years ago
Refactored view transactions so they work issolated. https://github.com/dotJEM/angular-routing/commit/9cc1eb0437cc4835de393e9f9934f8d4c51e389d https://github.com/dotJEM/angular-routing/commit/01196b5222a0a279a7b256b39a18bffbe4bd0cbf https://github.com/dotJEM/angular-routing/commit/3240e078cf382558a9730ea5f2c3cd80e1103b50
Still needs to cancel out promises as well
new sample: http://plnkr.co/edit/zsEYpxpFYUAc1NVo3PGH?p=info
Still happens on the about page under a specific situation where a goto is started, but canceled out by one to the current state then another event.
(Click link 1, wait, then click 3, 1, 2)
Still happens for me.
A plunk that illustrates the issue: http://plnkr.co/edit/CfhCoH?p=info Click on 'About' and then quickly click on 'Contact'.
It's more difficult to reproduce it now, but it still happens sometimes if you click several links really fast.
I have tried to click as crazy fast I can, without any luck in reproducing it... So is this happening in the sample you provided or in a project your working on, if the later there may be some other factors affecting this as well?...
It's in my project. I'll try to isolate it.
Looks like it's been fixed by d35eab28d9. It's reproduced only without that commit.
ok... I have a few other minor things I wan't to look into before making a 0.6.8 release, but it that change will be in there (it was mostly a theoretical fix, but it adds some preparation for pushing more and more focus towards the pipeline implementation)
Having a transition that is slow due to resolving values can cause the next transition to fail, we start by getting a:
and then:
Try doing rapid clicking on the front page links here: http://plnkr.co/edit/CPEKaqfdZREIvu7A3hQr?p=preview