Skip to content

Linking to anchors does not scroll to point on page #228

@CodingItWrong

Description

@CodingItWrong

Say you copy a link to a specific anchor on a page, such as:

https://ember-decorators.github.io/ember-decorators/latest/docs/api/modules/@ember-decorators/service#service

The user would expect that loading this URL in a new tab would automatically scroll you to the #service anchor on the page. But it doesn't seem to; it seems to keep me at the top of the page. I assume this is because of the way the page loads, how that anchor is not present at first.

If possible, it could be nice to do some JS magic to scroll down to that appropriate point on the page once the page is loaded!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions