Skip to content

Incorrect anchor link behaviour when multiple small blocks appear at the bottom of the page #118

Open
@dariasavinova

Description

Related issue from vuejs/docs - 3140

The problem with anchor links and clicks is related to the current check for whether the user is at the bottom of the page.
This check breaks the behaviour of anchor links when there are small blocks with anchor links at the end of the page (multiple blocks can fit on the screen at once).
In this case, the last link is automatically set as active, and this is exactly what needs to be fixed.
This behaviour can currently be observed here

example

Activity

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

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