graphql / graphql.github.io

GraphQL Documentation at graphql.org

Home Page:https://graphql.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add smooth scrolling when clicking on section links

arafatiqbal opened this issue · comments

Description

This is a very minor improvement that could be made to the website, I noticed that when you click on a particular section, it automatically just takes you to that section. Works as intended, but You can easily get lost where you are, since it magically teleports you there. Adding smooth scrolling would help with this issue, and let the reader know where the page is taking them.

Motivation

Mild UI improvements for the user.

Collaboration

I can build this out. Or if someone wants to do it

Additional Context

Example of the thing I'm talking about. It just snaps to that section, adding smooth scrolling would scroll the page to that section, so the reader doesn't get lost.
Animation

If this is still open I can give it a go!