I'm using angular ui.bootstrap and I've had success creating a simple drop down menu, but when you put the menu at the bottom of the page, it goes off the page. Is there a way to make it open in the UP direction?
Thanks! -fotoflo
you can use the dropup class with Angular UI Bootstrap like so:
<div class="btn-group dropup" dropdown>
<button type="button" class="btn btn-danger">Action</button>
<button type="button" class="btn btn-danger dropdown-toggle" dropdown-toggle>
<span class="caret"></span>
<span class="sr-only">Split button!</span>
</button>
<ul class="dropdown-menu" role="menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="divider"></li>
<li><a href="#">Separated link</a></li>
</ul>
</div>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With