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 jump link to only scroll effect so it doesn't happen on page urls, only jump link urls #413

Open
futuresoup opened this issue Jan 20, 2024 · 1 comment
Labels
bug Something isn't working UI/UX

Comments

@futuresoup
Copy link
Member

Problem: every url that is clicked scrolls up to the top of the page, regardless of if it is a jump link or a normal page link.

Potential solution: code jump links so that they only apply to URLs with a # parameter in them, which is the standard HTML jump link format.

For example: https://climatetechhandbook.com/level-1#solution-frameworks is a jump link, whereas, https://climatetechhandbook.com/level-1 without the # parameter is a standard link.

@mzhanggg can you make it so only urls with a # parameter have the jump link scroll effect?

@futuresoup futuresoup added bug Something isn't working UI/UX labels Jan 20, 2024
@MyBaBB
Copy link
Member

MyBaBB commented May 9, 2024

I did not mean to unassign this to you mzhangg, I was only reading trying to understand what you were trying to explain,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working UI/UX
Projects
Status: Todo
Development

No branches or pull requests

3 participants