diff --git a/src/TributeEvents.js b/src/TributeEvents.js index ee4936b2..eb062897 100644 --- a/src/TributeEvents.js +++ b/src/TributeEvents.js @@ -223,7 +223,8 @@ class TributeEvents { }, enter: (e, el) => { // choose selection - if (this.tribute.isActive && this.tribute.current.filteredItems) { + const filteredItems = this.tribute.current.filteredItems; + if (this.tribute.isActive && filteredItems && filteredItems.length) { e.preventDefault(); e.stopPropagation(); setTimeout(() => {