new page scroll to the bottom automatically

0
I go to different pages via microflows, when I get to the last page the scroll bar is halfway through the page instead of the top, how can I make sure that the scroll bar is always on te top of a new page automatically.  I'm using version 9.14.1
asked
2 answers
1

Hi,

use the below javascript code to scroll to top automatically

window.scrollTo(0,0);
answered
0

You could use the official Web Actions module from Mendix. This has a “Scroll To” action that you can call from a nanoflow. You could place this in a datasource nanowflow on the pages you want to scroll to the top.

https://docs.mendix.com/appstore/modules/web-actions/

Hope this helps.

answered