Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Commit

Permalink
fix(select2): hide dropdown if there are no items to show (same as #1588
Browse files Browse the repository at this point in the history
 for bootstrap)
  • Loading branch information
torstenrudolf committed May 11, 2016
1 parent 3fd1e2d commit 4c561ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/select2/select-multiple.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</li>
</ul>
<div class="ui-select-dropdown select2-drop select2-with-searchbox select2-drop-active"
ng-class="{'select2-display-none': !$select.open}">
ng-class="{'select2-display-none': !$select.open || $select.items.length === 0}">
<div class="ui-select-choices"></div>
</div>
</div>

0 comments on commit 4c561ac

Please sign in to comment.