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)
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
Related Searches
(https://serpapi.com/related-searches)Related Searches
is a bit longer, so it's not exactly in the middle.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)
andFirefox 124.0.2 (64-bit)