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
Bart van der Kant
2 answers
2
Hi,
use the below javascript code to scroll to top automatically
window.scrollTo(0,0);
answered
Bharathidasan S
-1
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.