millermedeiros / crossroads.js

JavaScript Routes
http://millermedeiros.github.com/crossroads.js/
1.44k stars 156 forks source link

Route Losing Reference After First Call #145

Closed lifeelement closed 8 years ago

lifeelement commented 8 years ago

We testing crossroads for a web app. When selecting a button that fires a route, when selecting the back button, another route does indeed fire, but when attempting to repeat the exact steps nothing fires.

Any idea why?

After selecting the back button and running crossroads.getNumRoutes(), it reports that the routes are still there, but somehow the event handlers have been wiped.

lifeelement commented 8 years ago

There is something in popstate happening that we don't fully understand why yet. If we have time after figuring out why, we'll report back.