diff --git a/client/src/app/core/hotkeys/hotkeys.service.ts b/client/src/app/core/hotkeys/hotkeys.service.ts index 2fb192749..ec36554e2 100644 --- a/client/src/app/core/hotkeys/hotkeys.service.ts +++ b/client/src/app/core/hotkeys/hotkeys.service.ts @@ -66,12 +66,14 @@ export class HotkeysService { return } - const result = hotkey.callback.apply(this, [ event, combo ]) + this.zone.run(() => { + const result = hotkey.callback.apply(this, [ event, combo ]) - if (result === false) { - event.preventDefault() - event.stopPropagation() - } + if (result === false) { + event.preventDefault() + event.stopPropagation() + } + }) } })