Prevent page going back to top after clicking custom component modal

Hi there,

Thanks for reaching out!

If there is a reload on the page, unless you have attached an anchor link to an element, and the id matches in the url.

Alternatively, you could explore more JS solutions with your developers that can save the scroll position in local storage, and then call it when the page reloads. I’ve attached a few Stack Overflow links that will help get you and your engineers started:

1 Like