angularjs - dropdown-toggle up and down keys in keyboard not working -
i unable use , down arrow buttons focus on drop down menu. in application, using angularjs.
here code:
<div class="dropdown dropdown-eq2 form-group" dropdown> <button class="btn dropdown-toggle" dropdown-toggle data-toggle="dropdown"> <span class="icon-e_icon_expand pull-right" style="margin-left: 5px;"> </span>{{personobj.type}} </button> <ul class="dropdown-menu num-of-views" role="menu" dropdown-menu> <li role="presentation" ng-repeat="type in categoryarray"> <a role="menuitem" tabindex="-1" href="" ng-click="setselectedtype(type)"> {{type}}</a> </li> </ul> </div>
angular ui dropdown don't support up/down keyboard navigation's.
you can build custom directive on top of full fill requirement.
you can refer link navigate ui using keyboard
Comments
Post a Comment