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

fix: anchor link doesn't scroll properly #53

Merged
merged 1 commit into from
Dec 12, 2024
Merged

fix: anchor link doesn't scroll properly #53

merged 1 commit into from
Dec 12, 2024

Conversation

lukicenturi
Copy link
Contributor

@lukicenturi lukicenturi commented Dec 12, 2024

The issue happen because the images on the page (especially above the anchor) didn't load before it went to the anchor link, so it shifted to the bottom after the images loaded.

Solution found here vuejs/vitepress#3738

Copy link
Member

@kelsos kelsos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks fine locally. Thanks @lukicenturi

@kelsos kelsos merged commit 390a0f7 into main Dec 12, 2024
5 checks passed
@kelsos kelsos deleted the fix-anchor branch December 12, 2024 10:33
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

Successfully merging this pull request may close these issues.

2 participants