emberjs / emberjs/ember.js

link-to fails to apply active class on nested transitionTo() from within willTransition()

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

Description

I've created an [ember twiddle with instructions](https://ember-twiddle.com/64aa369eabde7f1f8b3bfff3cf0a91cc?openFiles=routes.home.js%2C) to illustrate the problem.

Why isn't the active class being applied correctly to the leaf route's link-to component when transitionTo() gets called inside of the willTransition() action?

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.