diff --git a/src/static/js/app.js b/src/static/js/app.js index 8c13b06..0bd2439 100644 --- a/src/static/js/app.js +++ b/src/static/js/app.js @@ -654,7 +654,12 @@ const App = { await this.loadIncidentDetail(id); // Nach dem Laden: Hauptbereich nach oben scrollen - document.getElementById("main-content").scrollTop = 0; + var mc = document.getElementById("main-content"); + mc.scrollTop = 0; + window.scrollTo(0, 0); + requestAnimationFrame(() => { mc.scrollTop = 0; window.scrollTo(0, 0); }); + setTimeout(() => { mc.scrollTop = 0; window.scrollTo(0, 0); }, 50); + setTimeout(() => { mc.scrollTop = 0; window.scrollTo(0, 0); }, 150); }, async loadIncidentDetail(id) {