diff --git a/src/TributeEvents.js b/src/TributeEvents.js index 95dc7f80..a107ba12 100644 --- a/src/TributeEvents.js +++ b/src/TributeEvents.js @@ -228,7 +228,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(() => {