-
-
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
Transitioning CSS class on multiple links to same route #12419
Comments
@topaxi yeah this seems like a bug. The css class <ul>
<li><a id="ember324" href="#/red" class="ember-view ember-transitioning-in">red</a></li>
<li><a id="ember338" href="#/yellow" class="ember-view ember-transitioning-in">yellow</a></li>
<li><a id="ember339" href="#/blue" class="ember-view active">blue</a></li>
</ul> |
@pixelhandler yes, the |
I've added a failing test for this issue at master...topaxi:transitioning-in-dynamic-segment. After going through some ember routing modules and tildeio/router.js I'm unsure where the issue lies and in which repository this should be reported and fixed. |
Welp. I just ran straight into this -- same use case, basically. I've got a route which serves up some data-driven content, along with a navbar that transitions to the same route with a different model. I haven't been able to narrow it down properly (running into issues getting Ember's dev environment set up), but I suspect the culprit is somewhere around here. I suspect the I'll see if I can pry further. I'd better throw together a test app so I don't have to upgrade my working ember version to canary. :P |
This bug is definitely still active, I just encountered it on v2.16.0. I have a route I traced this all the way down to At this point, On reading this, I believe the I'm in pretty far over my head here and I'm not able to figure out what the fix is. Also having a hard time grasping router.js code without any documentation. Hopefully this is enough info to help somebody familiar fix it pretty quickly? |
When linking to the same route, with a different model, all links add the
ember-transitioning-in
class.On this one, I'm not sure if this is right or wrong.
But this seems definitely like a bug:
When the transition ends, none of links but the one clicked remove the
ember-transitioning-in
.Small example: http://emberjs.jsbin.com/muwaxavive/edit?html,css,js,output
Click on any color to switch to a subroute, all links go immediately red (
ember-transitioning-in
), after the transition, the clicked color goes blue again but the other links stay red.This might be related or even a duplicate of #10989 or #10195
The text was updated successfully, but these errors were encountered: