Skip to content
Snippets Groups Projects
Commit a1868a7d authored by Maximilian Leo Huber's avatar Maximilian Leo Huber
Browse files

testing scroll start pos at top of page

parent 5b1ae6dd
No related branches found
No related tags found
No related merge requests found
Pipeline #426072 passed
...@@ -23,6 +23,10 @@ import "./LoadingScreen.css"; ...@@ -23,6 +23,10 @@ import "./LoadingScreen.css";
const App = () => { const App = () => {
window.onbeforeunload = function () {
window.scrollTo(0, 0);
}
const [isLoading, setIsLoading] = useState(true); const [isLoading, setIsLoading] = useState(true);
const pathMapping = getPathMapping(); const pathMapping = getPathMapping();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment