diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index af43efb79d..f50daf2f90 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -2677,7 +2677,7 @@ module.set.scrollPosition($nextValue); $selectedItem.removeClass(className.selected); $nextValue.addClass(className.selected); - if (settings.selectOnKeydown && module.is.single() && !$nextItem.hasClass(className.actionable)) { + if (settings.selectOnKeydown && module.is.single() && (!$nextItem || !$nextItem.hasClass(className.actionable))) { module.set.selectedItem($nextValue); } }