-
Notifications
You must be signed in to change notification settings - Fork 12
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
Clicking a link build with the {{link}}
helper, the transition is not executed in Edge <= 18
#459
Comments
Great detective work! 🕵️ I think you found the correct root cause. You could try replacing return Link.prototype.transitionTo.call(this); |
😆 it was indeed detective work. Thanks for the pointer... It did not work as is but gave me the idea to inline Link's What would be the best way forward regarding the bug in ember-link? Do you prefer to wait for the root cause to be fixed? Or do you wish to inline Link's |
Ah yes, that didn't work because Because the As Edge <= 18 isn't really in the support matrix of this addon, I'd ideally like to wait for an upstream fix, but I'd also like to unblock you. Can you maybe answer the questions from emberjs/ember.js#18955 (comment) ?
|
Hi there 👋,
Thanks for this addon, that we use. :)
I think I found a bug. AFAICT the issue would be in ember-source. But I'm opening the issue here for tracking purpose.
A bug
Clicking a link build with the
{{link}}
helper, the transition is not executed in Edge <= 18.Instead, I get the following error in the console:
Unable to get property 'router' of undefined or null reference
on the following line:
ember-link/addon/link.ts
Line 227 in 8f0fab3
A possible cause
The bug only happens in Edge <= 18. I wonder if the code:
ember-link/addon/link.ts
Lines 276 to 283 in 8f0fab3
The text was updated successfully, but these errors were encountered: