Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twitter's Typeahead.js != old Bootstrap v2's typeahead #1

Closed
cvrebert opened this issue Jun 14, 2015 · 5 comments
Closed

Twitter's Typeahead.js != old Bootstrap v2's typeahead #1

cvrebert opened this issue Jun 14, 2015 · 5 comments

Comments

@cvrebert
Copy link

Stylizing

You'd think that being explicitly referenced in the Bootstrap documentation as a supported library (in 2.3.2 but not 3.x1), typeahead.js would structure their HTML as a Bootstrap-friendly style drop-down…
[...]

  1. Where it changed from Bootstrap-typeahead to typeahead.js.

To dispel a key misconception here: The similarity of the names is indeed unfortunate & confusing, but Twitter's Typeahead.js is completely separate from and has never shared any code with Bootstrap v2's typeahead widget. I imagine that the fact that old versions of Twitter's Typeahead.js offered optional Bootstrap integration also contributed to this confusion.

In Bootstrap v3, Bootstrap's own typeahead widget from v2 was removed due to its complexity and its suffering from some significant bugs. The Bootstrap Core Team recommended that users migrate to Twitter's Typeahead.js since it was a superior alternative (see http://getbootstrap.com/migration/#notes), and since there was hope that Twitter's Typeahead.js would continue to offer an optional Bootstrap integration (which sadly didn't pan out).

With the release of version 3, Bootstrap ceased to be affiliated with Twitter (see twbs/bootstrap#9899), which makes Typeahead.js's lack of integration/compatibility with Bootstrap more understandable.

@kristopolous
Copy link
Owner

I see. The internal politics and the fact this had to be clarified is fairly concerning. Do you think most of users of bootstrap will presume the (now clarified to be incorrect) narrative that they are connected?

@cvrebert
Copy link
Author

I think you might be overestimating the political factor. My (unconfirmed, personal) impression is that Typeahead.js is/was just low on manpower, and thus opted to expend their effort elsewhere rather than updating the Bootstrap integration, which would be nontrivial given how major the changes were between Bootstrap v2 & v3.

Do you think most of users of bootstrap will presume the (now clarified to be incorrect) narrative that they are connected?

I think the likelihood for confusion is high, hence why I filed this issue.
So, would you mind updating the article so it doesn't further propagate the misinformation in question?

@kristopolous
Copy link
Owner

Sure ... I'll happily do so either tonight or tomorrow. Thanks

@kristopolous
Copy link
Owner

there you go.

@cvrebert
Copy link
Author

Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants