We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f18b5e commit 397622cCopy full SHA for 397622c
src/TributeEvents.js
@@ -228,7 +228,8 @@ class TributeEvents {
228
},
229
enter: (e, el) => {
230
// choose selection
231
- if (this.tribute.isActive && this.tribute.current.filteredItems) {
+ const filteredItems = this.tribute.current.filteredItems;
232
+ if (this.tribute.isActive && filteredItems && filteredItems.length) {
233
e.preventDefault();
234
e.stopPropagation();
235
setTimeout(() => {
0 commit comments