Skip to content

Commit

Permalink
prevent items to be focusable, closes #84
Browse files Browse the repository at this point in the history
  • Loading branch information
ckotzbauer committed Sep 19, 2017
1 parent 1a2cbea commit 3a4b669
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ts/BaseListBox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,6 @@ export abstract class BaseListBox {
item.innerText = dataItem.text;
item.id = dataItem.id;
item.title = dataItem.text;
item.tabIndex = 1;
item.onkeydown = (e: KeyboardEvent): void => {
if (!(<HTMLElement>e.target).classList.contains(BaseListBox.LIST_ITEM_CLASS_GROUP) && e.eventPhase === 2) {
if (e.which === 13) {
Expand Down

0 comments on commit 3a4b669

Please sign in to comment.