David Kimura PRO said about 3 years ago on Hotwire :
I would probably avoid doing window scrolling directly as that could have strange behaviors. You couldĀ  instead do linking to id tags (anchors) which would scroll the window to the new elements. However, that could also be a bit strange as it would update the history. You would probably need to do something with turbo:before-visit to make sure that you're not creating additional requests back to the server if an anchor tag is present and also check if the user is scrolling to escape the visit entirely.