In Remix, you can restore Scroll by using <SCrollRestoration /> component and add it to root.tsx file. If you use it, it will restore scroll on every redirect. To prevent it from happening all the time, you can use preventScrollRestoration on <Form /> and <Link /> components.