emberjs / emberjs/ember.js

`{{link-to}}` transitioning classes are incorrect after `transition.abort()`

Open
#13,164 16 comments 6 reactions 0 assignees View on GitHub
bug Has Reproduction Routing
Dominant language
TypeScript
Stars
22.6k
Forks
4.2k
Avg merge
3d 12h
Merged PRs (30d)
15

Description

twiddle: https://ember-twiddle.com/8aa9da800a7883b6c59a?openFiles=routes.page2.js%2C

The `ember-transitioning-in` and `.ember-transitioning-out` classes don't seem to be updated correctly when linking to a route that aborts the transition:

``` js
export default Ember.Route.extend({
beforeModel: function(transition) {
return delay(1000).then(function() {
transition.abort();
});
}
});
```

I'll try to create a failing test now

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.