diff --git a/packages/application/src/index.ts b/packages/application/src/index.ts index 3898e0890..e83fbbd64 100644 --- a/packages/application/src/index.ts +++ b/packages/application/src/index.ts @@ -188,20 +188,6 @@ export class Application { return this._delegate.promise; } - /** - * Getter and setter for the bubblingKeydown experimental flag. - * - * @experimental - */ - get bubblingKeydown(): boolean { - return this._bubblingKeydown; - } - set bubblingKeydown(value: boolean) { - document.removeEventListener('keydown', this, !this._bubblingKeydown); - this._bubblingKeydown = value; - document.addEventListener('keydown', this, !this._bubblingKeydown); - } - /** * Get a plugin description. * @@ -622,9 +608,6 @@ export class Application { * A subclass may reimplement this method as needed. */ protected addEventListeners(): void { - if (this._bubblingKeydown) { - console.log('The keydown events are handled during bubbling phase'); - } document.addEventListener('contextmenu', this); document.addEventListener('keydown', this, !this._bubblingKeydown); window.addEventListener('resize', this); diff --git a/review/api/application.api.md b/review/api/application.api.md index 3c5637c1a..31b0d2168 100644 --- a/review/api/application.api.md +++ b/review/api/application.api.md @@ -17,8 +17,6 @@ export class Application { activatePlugin(id: string): Promise; protected addEventListeners(): void; protected attachShell(id: string): void; - get bubblingKeydown(): boolean; - set bubblingKeydown(value: boolean); readonly commands: CommandRegistry; readonly contextMenu: ContextMenu; deactivatePlugin(id: string): Promise;