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

bump xeokit to 2.3.10

Eric Schubert6d42d039d128
diff --git a/frontend/package.json b/frontend/package.json
index feec606ad03..565a25befba 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -71,7 +71,7 @@
"@uirouter/core": "^6.0.7",
"@uirouter/rx": "^0.6.5",
"@w11k/ngx-componentdestroyed": "^5.0.2",
- "@xeokit/xeokit-bim-viewer": "2.3.7",
+ "@xeokit/xeokit-bim-viewer": "2.3.10",
"autoprefixer": "^9.6.1",
"browserslist": "^4.9.1",
"cdk-drag-scroll": "^0.0.6",
diff --git a/frontend/src/app/modules/bim/ifc_models/ifc-viewer/ifc-viewer.component.ts b/frontend/src/app/modules/bim/ifc_models/ifc-viewer/ifc-viewer.component.ts
index 42653a5627f..81e84f43167 100644
--- a/frontend/src/app/modules/bim/ifc_models/ifc-viewer/ifc-viewer.component.ts
+++ b/frontend/src/app/modules/bim/ifc_models/ifc-viewer/ifc-viewer.component.ts
@@ -124,10 +124,11 @@ export class IFCViewerComponent implements OnInit, OnDestroy {
// Key events for navigating the viewer shall not propagate further up in the DOM, i.e.
// pressing the S-key shall not trigger the global search which listens on `document`.
- @HostListener('keydown')
- @HostListener('keyup')
- cancelAllKeyEvents(event:KeyboardEvent) {
- event.stopPropagation();
+ @HostListener('keydown', ['$event'])
+ @HostListener('keyup', ['$event'])
+ @HostListener('keypress', ['$event'])
+ cancelAllKeyEvents($event:KeyboardEvent) {
+ $event.stopPropagation();
}
@HostListener('mousedown')