dotJEM / angular-routing

Enhanced state based routing for Angular applications!
https://dotjem.github.io/angular-routing/
MIT License
75 stars 9 forks source link

reloadOnSearch: false state not loading in Firefox #105

Closed groner closed 10 years ago

groner commented 10 years ago

In this plunk, the /items route has reloadOnSearch: false. http://plnkr.co/edit/1K1KbGVjX6pj3hti8Ovn

In Firefox 30 the state does not change when navigating to /items.

I see no errors in the console, and no before transition event. The sref directive does generate the /items url in the navbar and the state definition can be found with $state.lookup('/items'). When reloadOnSearch: false is commented out, Firefox works again.

groner commented 10 years ago

In #104, I suggested this behavior was specific to v0.6.2. It's actually Firefox vs Chrome is the variable here. The problem exists in v0.6.1.

groner commented 10 years ago

If the initial state is /items, it loads in Firefox. But after navigating away, return to the reloadOnSearch: false state is not possible.

jeme commented 10 years ago

Closing this one as this is an actual bug in the $route service, so tracking it under #104 should be enough.