Skip to content

Docs: Anchor links broken on reload #2318

Description

Page URL:

In all tsconfig reference pages.

For example https://www.typescriptlang.org/tsconfig#target

Issue:

When visiting the page, the link changes from https://www.typescriptlang.org/tsconfig#target to https://www.typescriptlang.org/tsconfig#target= (= is appended). Reloading the page jumps to the top, since the anchor is now invalid.

Recommended Fix:

The link should not be postfixed with =.

Activity

  1. orta commented on Apr 3, 2022

    @orta
    Contributor

    I can't reproduce this on edge nor safari, is there other javascript (extensions) which could be doing this which is specific to your computer?

  2. LorenzHenk commented on Apr 4, 2022

    @LorenzHenk
    ContributorAuthor

    You're right, this is a bug of https://github.com/ClearURLs/Addon.
    Thanks and sorry for the noise 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions