CSS issue on Twitter Typeahead with Bootstrap 3

前端 未结 14 939
醉话见心
醉话见心 2020-11-30 22:17

With the release of Bootstrap 3. Typeahead has been removed in favor of this:
https://github.com/twitter/typeahead.js

Ive integrated it successfully on remote fe

14条回答
  •  萌比男神i
    2020-11-30 23:05

    This worked for me. You may need to play with top and left numbers to get it right.

    $('#typeahead').typeahead(...);
    $(".tt-hint").css('top','3px');
    $(".tt-hint").css('left','1px');
    

提交回复
热议问题