diff --git a/src/js/utils/dom.js b/src/js/utils/dom.js index 63bd25b582..02da925c5d 100644 --- a/src/js/utils/dom.js +++ b/src/js/utils/dom.js @@ -165,7 +165,7 @@ export function createEl(tagName = 'div', properties = {}, attributes = {}, cont // method for it. } else if (propName === 'textContent') { textContent(el, val); - } else if (el[propName] !== val) { + } else if (el[propName] !== val || propName === 'tabIndex') { el[propName] = val; } });