I think this will solve your problem:
How about looking at this example that I can show so you can see how I put it together. Seems to work for me.
Editor: https://bubble.io/page?name=index&id=805scrollto&tab=tabs-1
Preview: https://805scrollto.bubbleapps.io/version-test?debug_mode=true
1 Like
That’s a good question. Not sure.
Maybe try something like this?
window.scrollTo({
top: 100,
left: 100,
behavior: 'smooth'
});
That may not work for all browsers. Here is another way to do it for all browsers: https://www.w3schools.com/howto/howto_css_smooth_scroll.asp#section1
1 Like