Skip to content
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

Protected Against Empty transition.to #386

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

jrjohnson
Copy link
Contributor

When a transition is aborted (and maybe at other times) transition.to is null and needs to be guarded against just like transition.from.

@MelSumner This fixes an issue created by #379 which pops up in our app during authentication with ember-simple-auth. There are probably other ways to hit this as well.

When a transition is aborted (and maybe at other times) transition.to is
null and needs to be guarded against just like transition.from.
@MelSumner
Copy link
Member

I'll go ahead and get this in but have filed an issue to create a test for this.

@MelSumner MelSumner merged commit fa56772 into ember-a11y:main Aug 27, 2024
6 checks passed
@jrjohnson jrjohnson deleted the transition-to-is-null branch August 27, 2024 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants