Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit e8201d1

Browse files
committed
feat(typeahead): move inline style to stylesheet
- Move inline style to stylesheet Closes #5219
1 parent b658b03 commit e8201d1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/typeahead/typeahead.css

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[uib-typeahead-popup] .dropdown-menu {
2+
display: block;
3+
}

template/typeahead/typeahead-popup.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<ul class="dropdown-menu" ng-show="isOpen() && !moveInProgress" ng-style="{top: position().top+'px', left: position().left+'px'}" style="display: block;" role="listbox" aria-hidden="{{!isOpen()}}">
1+
<ul class="dropdown-menu" ng-show="isOpen() && !moveInProgress" ng-style="{top: position().top+'px', left: position().left+'px'}" role="listbox" aria-hidden="{{!isOpen()}}">
22
<li ng-repeat="match in matches track by $index" ng-class="{active: isActive($index) }" ng-mouseenter="selectActive($index)" ng-click="selectMatch($index, $event)" role="option" id="{{::match.id}}">
33
<div uib-typeahead-match index="$index" match="match" query="query" template-url="templateUrl"></div>
44
</li>

0 commit comments

Comments
 (0)