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.
This commit is contained in:
Mónus Tamás
2019-01-21 20:09:06 +01:00
committed by László Monda
parent eee3322082
commit 2855480d6a

View File

@@ -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"

Before

Width:  |  Height:  |  Size: 916 B

After

Width:  |  Height:  |  Size: 910 B