After finding this thread, it seems like one of the answers there works for my case as well (as long as (0,0) is changed to (0, -1) ):
(0,0)
(0, -1)
window.scrollTo(0, -1); setTimeout(() => { window.scrollTo(0, -1); }, 100);