on my mobile view of my webpage, I can scroll both vertically and horizontally, but it always starts in the upper left corner. Now I want to set the viewport to my custom position using window.scrollTo or something similar. window.scroll seems to work only for desktop browsers.
any idea how i could solve this?
source
share