For some reason, on two different websites made by me, as well as on other sites, Chrome will randomly scroll using a variable amount whenever a new page loads, and sometimes even at a different time (in particular, when object drag and drop).
There is absolutely no link to any scrollTop anywhere in the code for any site, and on both sites there is code that is completely written from scratch (so there is no generic code that I could copy). In addition, there is no # fragment in the URLs (whenever it scrolls to the correct position).
Has anyone else heard that Chrome just scrolls for no reason? Anything that can be fixed without reassigning scrollTop every time the action is performed?
source share