Push params to url without page scrolling to top
I have a route that looks like this:
When page_type and page_url is available, a popup appears. But when the url changes, the page scrolls to the top. How do I avoid that?
I've tried:
3 Replies
I thought it might have been the popup that made the page scroll, but removing the popup still makes the page scroll to the top. I can see though that when the url changes, the page does not run again.
A has a noScroll prop.
Awesomeness! That's super easy haha thank you so much