angularjs - angularui bootstrap dropup not working -
i need use dropup menu. code worked ui-bootstrap-tpls-0.10.0.js:
<div class="btn-group dropup"> <button type="button" class="btn btn-default" ng-click="print('pdf')">{{text}}</button> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> <span class="caret"></span> <span class="sr-only">toggle dropdown</span> </button> <ul class="dropdown-menu" role="menu"> <li><a ng-click="print('pdf')">pdf</a></li> <li><a ng-click="print('excel')">excel</a></li> </ul> </div>
after upgrading ui-bootstrap-tpls-0.11.0.js, dropup popup doesn't show anymore. appreciated. dropdown still works expected.
add dropdown
attribute outer div:
<div class="btn-group dropup" dropdown>
Comments
Post a Comment