My Bootstrap typeahead seems to have no background menu. Does anybody know a fix?
EDIT: the issue is that the 'dropup' class is being applied to my typeahead. How can I ignore that class in the scope of my typeahead?
The markup is as follows:
<ul class="dropdown-menu dropup" role="menu" aria-labelledby="dLabel">
<li class="divider"></li>
<li>
<input type="text" class="typeahead" data-provide="typeahead" autocomplete="off">
</li>
<li class="divider"></li>
<li role="presentation">
<button class="btn btn-warning" type="button">
Close
</button>
</li>
</ul>
我认为应该将其包裹在<div class="dropdown">
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.