Scroll to top on navigation in REACT app

I have a REACT app. Some of the pages has scroll. When the user scrolled to the middle of the page and then navigates to the next page, the position of the scroll is memorized. The desired behavior is when the user navigates to the new page to scroll to the top of the page.

There is manual how to do it in React ( ), but how to do it withing OutSysytems?

Hello Elena, I believe this video explains what you need to know.

Let me know if it was useful, otherwise, I will look for an example.