From 2855480d6a55baad076324fcc8381332809d6b1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=B3nus=20Tam=C3=A1s?= Date: Mon, 21 Jan 2019 20:09:06 +0100 Subject: [PATCH] fix: Pressing Tab after "update description" corrupts UI (#872) (#878) * fix: Pressing Tab after "update description" corrupts UI (#872) * Prevent focus on button groups by setting tabindex to -1. --- .../src/app/components/svg/module/svg-module.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/uhk-web/src/app/components/svg/module/svg-module.component.html b/packages/uhk-web/src/app/components/svg/module/svg-module.component.html index 976d8430..6f30ea0f 100644 --- a/packages/uhk-web/src/app/components/svg/module/svg-module.component.html +++ b/packages/uhk-web/src/app/components/svg/module/svg-module.component.html @@ -7,7 +7,7 @@ [width]="key.width" [height]="key.height" [attr.transform]="'translate(' + key.x + ' ' + key.y + ')'" [attr.fill]="key.fill" - [attr.tabindex]="0" + tabindex="-1" [keyAction]="keyActions[i]" [active]="selected && i == selectedKey.keyId" [keybindAnimationEnabled]="keybindAnimationEnabled"