diff --git a/frontend/src/app/module-blueprint/common/tools/select-tool.ts b/frontend/src/app/module-blueprint/common/tools/select-tool.ts index 1f53e73f..b63b478b 100644 --- a/frontend/src/app/module-blueprint/common/tools/select-tool.ts +++ b/frontend/src/app/module-blueprint/common/tools/select-tool.ts @@ -366,6 +366,13 @@ export class SelectTool implements ITool { this.sameItemCollections[itemGroupToDestroyIndex] ); } else if (keyCode == "b") { + // ignore keypress when a textbox is active + let textboxElements = ["INPUT", "TEXTAREA"]; + let activeElement = document.activeElement.tagName; + if ( textboxElements.includes(activeElement)) { + return; + } + // find the currently selected item let newItem = null; let itemGroupToDestroyIndex = this.currentMultipleSelectionIndex;