Skip to content

Bugfix - show currect number of async suggestions when less than limit [Fix #1218] - #1224

Closed
joekur wants to merge 1 commit into
twitter:masterfrom
reverbdotcom:fix-limit-with-async
Closed

joekur wants to merge 1 commit into
twitter:masterfrom
reverbdotcom:fix-limit-with-async

Conversation

@joekur

@joekur joekur commented May 8, 2015

Copy link
Copy Markdown

See #1218

@kylecrum

Copy link
Copy Markdown

Same as #1212 and #1233 . There are several solutions to choose from 😄

@vvo

vvo commented Jun 3, 2015

Copy link
Copy Markdown

hello @jharding, current typeahead completely fails because of this. It's already released on npm, jsdelivr etc.. but still fails.

Thanks for the work thought.

@vvo

vvo commented Jun 11, 2015

Copy link
Copy Markdown

Wonderful

@joekur

joekur commented Jun 11, 2015

Copy link
Copy Markdown
Author

@wkornewald - to clarify, are you saying my suggested change gives the wrong results? Could you elaborate? Maybe there is an additional test that's needed?

At this point I think @jharding just needs to choose the best implementation and close the rest of these pulls.

@wkornewald

Copy link
Copy Markdown

@joekur Actually, yours is correct and simpler than mine. Was in a hurry and my solution uses Math.min() to be on the safe side, but that's not really necessary.

@dougaxe1 dougaxe1 mentioned this pull request Jul 31, 2015
@cstoneham

Copy link
Copy Markdown

Is this going in? I ran into this issue recently.

@joekur

joekur commented Dec 7, 2015

Copy link
Copy Markdown
Author

@cstoneham see #1424

@cstoneham

Copy link
Copy Markdown

@joekur Ah, thanks for the heads up.

@joekur joekur closed this Jul 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants