Skip to content
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

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

Open
dariasavinova opened this issue Jan 8, 2025 · 0 comments

Comments

@dariasavinova
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant