Scroll to element on page load not working

I am using the scroll to element function on page load only if a url parameter is x .
When i scroll to it, it scroll to the element and scrolls back to the top of the screen.
When i add a pause of 900ms or more before the scroll to element action it works but i’d like to remove the pause.
Anyone experienced something similar?

Might be that you have this action as part of the ‘when page is loaded’ and so it is possible the element that you are trying to scroll to has not loaded yet.

Try using the conditional workflow, when page is loaded entire is yes

That way the entire page will be loaded, so the element will be loaded and that should work without a need for a pause


This topic was automatically closed after 70 days. New replies are no longer allowed.