serpapi / public-roadmap

Public Roadmap for SerpApi, LLC (https://serpapi.com)
45 stars 3 forks source link

[UX] Documentation page doesn't scroll to the top after changing pages #1554

Open ishiharaf opened 2 months ago

ishiharaf commented 2 months ago

When going between documentation pages the scroll bar keeps its position instead of going back to the top of the page sometimes.

Steps to reproduce

It happens with pages of similar height, or from a shorter page to a taller page

It doesn't happen the other way around (taller pages to shorter pages), and it doesn't happen when copy & pasting URLs in the address bar. Just when clicking on the sidebar.

OS: Windows 11 23H2 Browsers: Chrome 123.0.6312.123 (64-bit) and Firefox 124.0.2 (64-bit)