graphql / graphql/graphql.github.io

Add smooth scrolling when clicking on section links

Aperta
#1,314 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
💄 Enhancement 🚀 PR open
Lingua principale
TypeScript
Stelle
889
Fork
1.5k
Merge medio
4g 12h
PR unite (30g)
21

Descrizione

### 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](https://user-images.githubusercontent.com/70502771/202878120-8b8072d6-2425-4682-a9e9-e5afd9546e10.gif)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.