typeahead.js icon indicating copy to clipboard operation
typeahead.js copied to clipboard

Issue when suggestions has same items than default limit to show

Open payaresgarcia opened this issue 7 years ago • 2 comments

When typing, is the come up result has the same number of items than the limit length, then it doesn't show any option even when there is data within the suggestions. For example, if the limit is 5 and suggestions has 5 five items, it won't show anything.

The issue is happening in the "async(suggestion)" function.
For fixing it I just changed the line within the function from being:

that._append(query, suggestions.slice(0, that.limit - rendered));

To be:

that._append(query, suggestions.slice(0, that.limit));

payaresgarcia avatar Oct 15 '18 17:10 payaresgarcia

Same issue observed here

ecoquelin avatar Jun 04 '19 17:06 ecoquelin

This looks like a duplicate of ticket #1324. Which version are you experiencing this with?

Chealer avatar Jul 30 '21 16:07 Chealer