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

Delay the search opening to avoid that the BIM model viewer movement is triggered.

Henriette Dinger87964a5ee62c
diff --git a/frontend/src/app/modules/a11y/keyboard-shortcut-service.ts b/frontend/src/app/modules/a11y/keyboard-shortcut-service.ts
index c86cc16608e..71a2ef70d86 100644
--- a/frontend/src/app/modules/a11y/keyboard-shortcut-service.ts
+++ b/frontend/src/app/modules/a11y/keyboard-shortcut-service.ts
@@ -102,7 +102,7 @@ export class KeyboardShortcutService {
if (elem.is('input') || elem.attr('id') === 'global-search-input') {
// timeout with delay so that the key is not
// triggered on the input
- setTimeout( () => this.FocusHelper.focus(elem), 0);
+ setTimeout( () => this.FocusHelper.focus(elem), 200);
} else if (elem.is('[href]')) {
this.clickLink(elem[0]);
} else {