Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[#41714] removed enforced scroll on transistions

Eric Schubertbcf39c014bc6
diff --git a/frontend/src/app/core/routing/openproject.routes.ts b/frontend/src/app/core/routing/openproject.routes.ts
index bc8d3608ceb..0435bbcb122 100644
--- a/frontend/src/app/core/routing/openproject.routes.ts
+++ b/frontend/src/app/core/routing/openproject.routes.ts
@@ -259,9 +259,6 @@ export function initializeUiRouterListeners(injector:Injector) {
if (transition.from().data && _.get(state, 'data.menuItem') !== transition.from().data.menuItem) {
updateMenuItem(_.get(state, 'data.menuItem'), 'add');
}
-
- // Reset scroll position, mostly relevant for mobile
- window.scrollTo(0, 0);
});
$transitions.onExit({}, (transition:Transition, state:StateDeclaration) => {