Web app - opens pages in the middle

Hi there,

Hope you are doing well.

In my web app, I noticed that most of the time, each new page would be openned in the middle of the page, not from the top.
This is quite annoying because my users will have to swipe to the top of the page each time in order to see the content from the beginning, from the header.

I noticed that the vertical position of the target page depends on the vertical position in the previous page. Meaning, if I click a button from the bottom of the first page, the next page will be openned at the bottom. If I click a button located at the top of the first page, the next page will be openned at the top.

Any idea how to fix this? Or does it depend on the browser?

Thanks

Georges

I’ve just found a fix!

You just have to put a “Scroll to” flow function (available in the market) and link it to the “Page Mounted” event.
Let the Y coordinate to 0 (the top of the page) and there you are.

You can do this in all your pages and they will automatically scroll to the top when openned.

If that helps just one person I am glad!

2 Likes