In the Application Footer component, at mobile widths, there is a "Back to top" button.
The default link set is just a #
Clicking the link takes you to the hostname with a # appended to it. Will this cause issues in our apps that have hashrouting (react router)
If your application relies on url parameters or any other state, it causes a reload of the site with no other parameters
What are our options here?
- Allow users to set a path with an anchor tag like
some/path#location1 ?
- JS code to scroll top?
window.scrollTo(0, 0);
In the Application Footer component, at mobile widths, there is a "Back to top" button.
The default link set is just a
#Clicking the link takes you to the hostname with a
#appended to it. Will this cause issues in our apps that have hashrouting (react router)If your application relies on url parameters or any other state, it causes a reload of the site with no other parameters
What are our options here?
some/path#location1?window.scrollTo(0, 0);