-
-
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
Inability to render a linkTo with a target #19141
Comments
What specifically do you mean by More specifically are you referring to:
1 is relatively easy to add, though I'm not sure we want to add more features to 2 is has more open questions around what exactly it means to make it "work" in a single page app – does it mean calling In the meantime, yeah, it's pretty common for applications to have to write custom code to handle this today. |
I said "target", but it can be referred to as hash, anchor or target in different circumstances. But you assumed the right thing. I expected But, as you say - not doing so, allows developers to chose their own behaviour, so that's fine. Thanks for clarifying. |
With the LinkTo component, it's not possible to render a link that points to a target on the destination route.
e.g.
<a href="/my-route#foo"></a>
I did ask around in discord about this before raising an issue. But I am still unsure whether Ember is concerned about this, or if it's just up to me to sort in my application.
The text was updated successfully, but these errors were encountered: