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

Blur query search input when mobile is closed

Inga Maiac267f5bf019
diff --git a/frontend/src/app/components/main-menu/main-menu-toggle.service.ts b/frontend/src/app/components/main-menu/main-menu-toggle.service.ts
index 68e8d32ca47..54788f4ed0c 100644
--- a/frontend/src/app/components/main-menu/main-menu-toggle.service.ts
+++ b/frontend/src/app/components/main-menu/main-menu-toggle.service.ts
@@ -115,6 +115,7 @@ export class MainMenuToggleService {
public closeMenu():void {
this.setWidth(0);
this.hideElements.addClass('hidden-navigation');
+ jQuery('.wp-query-menu--search-input').blur();
}
public closeWhenOnMobile():void {