From 3a4b669d109979e8a5797563c82f008f20e0769a Mon Sep 17 00:00:00 2001 From: Christian Kotzbauer Date: Tue, 19 Sep 2017 19:34:59 +0200 Subject: [PATCH] prevent items to be focusable, closes #84 --- src/ts/BaseListBox.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ts/BaseListBox.ts b/src/ts/BaseListBox.ts index 6fce9cbe..9e736bf7 100644 --- a/src/ts/BaseListBox.ts +++ b/src/ts/BaseListBox.ts @@ -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 (!(e.target).classList.contains(BaseListBox.LIST_ITEM_CLASS_GROUP) && e.eventPhase === 2) { if (e.which === 13) {