-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Sticky query params broken with loading substate #12107
Comments
Fiddles moved to Ember-Twiddle and updated to Ember 2.1.0: Here sticky query params are working: A loading template is added, and now query params are not sticky: |
It's possible that #10945 is also related. It's kind of similar in that a transition inside of an existing transition usually (always?) results in an |
I'm having the same problem and created these twiddles: Both a dynamic segment and a loading template => bug Only dynamic segment, no loading template => works Only loading template, no dynamic segment => works |
@thijsvdanker Should |
@sunsetlincoln the second transition is done in the main-route controller at this moment (reflecting my own code-base). I'll refactor it to the route to better demonstrate the issue. |
@sunsetlincoln refactor is done, both transitions now take place in |
I'm having the same issue as well. From what I can tell, |
Related to #11857:
If a route has a dynamic segment, a query parameter, a child route with a slow-loading model and a loading template, the query parameter is no longer sticky.
#12037 fixed the JS error that was occurring in #11857, but didn't fix the underlying problem.
As far as I can trace back,
transition
insidesetup
on Route is null, when it shouldn't be.Here's a fiddle (Ember Canary) with no loading substate, which has the correct sticky query params:
http://jsfiddle.net/tobymarsden/x0rngqL2/
And here's a fiddle with a loading substate added, where the query params are no longer sticky:
http://jsfiddle.net/tobymarsden/963qt5p9/
The text was updated successfully, but these errors were encountered: