-
Notifications
You must be signed in to change notification settings - Fork 76
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
URL with anchor #104
Comments
It's possibly not supported by the underlying page.js library. I've never tried it myself. |
Yes, this doesn't work. :( |
I've tested this on a meteor app without Router, and the hash is not stripped from the URL. With Router, it is. This is a necessary feature for deep linking. Any chance it will get any attention? |
Not soon, as I'm working on a different router at the moment. It's unlikely deep-linking will work out of the box though; the content will usually not be rendered yet when the page first loads, thus anything automatic from the browser isn't going to work. So you'll need to implement your own deep linking unless your templates are completely static. In which case you don't have to use hashes. |
Is it possible to route to link with anchor?
When navigating to /foo#bar the URL gets rewritten as /foo
Have posted example using following router code on http://test_router_anchor.meteor.com/
if (Meteor.isClient) {
Meteor.Router.add({
'/': 'front',
'/foo': 'foo'
});
The text was updated successfully, but these errors were encountered: