My problem is that my route data is still there after refreshing the page, is there a way to remove it so that it doesn't exist after/before I refresh the page?
I have a stackblitz that mirrors my code: whenever I navigate from a specific route Customers to Contacts, it should scroll down the page.
It does this but when I refresh the page, it STILL scrolls down.
I only want the scroll behavior to happen if it navigates from Customers to Contacts, not any other route or refreshing the page. Unfortunately, stackblitz isn't able to show the problem I'm having since I guess refreshing on stackblitz isn't the same as refreshing the browser.