Hotwire Discussion

Disable Turbo Scroll Memory?

Great tool! Is there a way to get Turbo to act like a ‘normal’ browser and disable this feature?

Turbo Drive saves the scroll position of each page before navigating away and automatically returns to this saved position on restoration visits.

I can’t find it in the docs if it’s possible. If not, it’s a feature I’d love to see.

-Carl

My browser remembers and restores the scroll position on plain old scrolled sites. Isn’t turbo just replicating what would normally be expected here ?

You can simply add a stimulus controller that resets the scroll position on connect to do what you require though.