Closed darkmain closed 2 years ago
Currently there is no scrolling, when you load this page, it immediately "jumps" to the name without showing the upper ones.
But with this.scrollIntoView({ behavior: 'smooth', block: 'center' }) it would be really scrolled and the own name is then also in the middle.
this.scrollIntoView({ behavior: 'smooth', block: 'center' })
I will try this out, thanks for the idea!
Or, could you maybe prepare a PR implementing the feature?
Currently there is no scrolling, when you load this page, it immediately "jumps" to the name without showing the upper ones.
But with
this.scrollIntoView({ behavior: 'smooth', block: 'center' })
it would be really scrolled and the own name is then also in the middle.