The update offered by @jax is the best solution I find after a few hours.
I need to make some changes to the original CSS in order to work correctly with BS 3.3.6. Here he is:
span.twitter-typeahead { width: 100%; } .input-group span.twitter-typeahead { display: block !important; } .twitter-typeahead .tt-input[disabled] { background-color : #eeeeee !important; } .twitter-typeahead .tt-input { border-top-left-radius: 4px !important; border-bottom-left-radius: 4px !important; -webkit-border-top-left-radius: 4px !important; -webkit-border-bottom-left-radius: 4px !important; } .twitter-typeahead .hint { } .twitter-typeahead .tt-menu { width: 100%; max-height: 500px; overflow-y: scroll; border: 1px solid #cccccc; border-radius: 4px; -moz-box-shadow: 12px 14px 30px -7px #616161; -webkit-box-shadow: 12px 14px 30px -7px #616161; box-shadow: 12px 14px 30px -7px #616161; } @media (min-width: 768px) { .twitter-typeahead .tt-menu { width: 200%; } } .input-group .twitter-typeahead .tt-menu { margin-top: 32px; } .input-group.input-group-lg .twitter-typeahead .tt-menu { margin-top: 44px; } .input-group.input-group-sm .twitter-typeahead .tt-menu { margin-top: 28px; } .twitter-typeahead .tt-dataset { } .twitter-typeahead .tt-suggestion { padding: 3px 5px; white-space: nowrap; } .twitter-typeahead .tt-empty { background-color: white; } .twitter-typeahead .tt-open { background-color: white; } .twitter-typeahead .tt-suggestion:hover, .twitter-typeahead .tt-suggestion:focus, .twitter-typeahead .tt-cursor { background-color: #337ab7; color: white; } .twitter-typeahead .tt-highlight { }
Xavier Portell MartΓnez
source share