Meteor-Community-Packages / meteor-autocomplete

Client/server autocompletion designed for Meteor's collections and reactivity.
https://atmospherejs.com/mizzao/autocomplete
MIT License
350 stars 109 forks source link

Autocomplete menu cut off in navbar #59

Closed misinco closed 10 years ago

misinco commented 10 years ago

I have typeahead working, the only issue is that the autocomplete menu is getting cut off. I have the input area in a navbar and am using bootstrap-3. From what I've seen online this may have something to do with overflow but I can not seem to find a way around this.

Any help is appreciated!

typeahead

mizzao commented 10 years ago

If it's clipped, it probably has to do with weird CSS you've added to your navbar. The autocomplete works as expected on by-the-book Bootstrap 3 navbars.

That doesn't look like it's clipped, though, because I think the bottom edge is showing. It's more likely that you specified the wrong template for the item being rendered.

misinco commented 10 years ago

Thanks for the quick response! I was using the wrong field in the template. Also, is there a difference between autocomplate and typehead?

mizzao commented 10 years ago

autocomplete was designed for Meteor. typeahead is a shim for getting the Twitter typeahead library into a Meteor app. It's probably a bit more feature-rich, but doesn't know about Meteor's collections or reactivity, and so will inevitably be more inefficient to use.