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

Solves Append the list to body #41 #491

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
175 changes: 0 additions & 175 deletions dist/select.css

This file was deleted.

1,320 changes: 0 additions & 1,320 deletions dist/select.js

This file was deleted.

6 changes: 0 additions & 6 deletions dist/select.min.css

This file was deleted.

7 changes: 0 additions & 7 deletions dist/select.min.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/bootstrap/choices.tpl.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ul class="ui-select-choices ui-select-choices-content dropdown-menu"
<ul class="ui-select-choices ui-select-choices-content dropdown-menu select-drop-append-to-layer"
role="menu" aria-labelledby="dLabel"
ng-show="$select.items.length > 0">
<li class="ui-select-choices-group">
10 changes: 10 additions & 0 deletions src/select.css
Original file line number Diff line number Diff line change
@@ -165,3 +165,13 @@
.ui-select-bootstrap.ng-dirty.ng-invalid > button.btn.ui-select-match {
border-color: #D44950;
}

.ui-select-searchbox-layer {
z-index: 1000;
display: none;
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
}
2,543 changes: 1,304 additions & 1,239 deletions src/select.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/select2/select.tpl.html
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
'select2-container-active': $select.focus,
'select2-allowclear': $select.allowClear && !$select.isEmpty()}">
<div class="ui-select-match"></div>
<div class="select2-drop select2-with-searchbox select2-drop-active"
<div class="select2-drop select2-with-searchbox select2-drop-active select-drop-append-to-layer"
ng-class="{'select2-display-none': !$select.open}">
<div class="select2-search" ng-show="$select.searchEnabled">
<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
2 changes: 1 addition & 1 deletion src/selectize/choices.tpl.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div ng-show="$select.open" class="ui-select-choices selectize-dropdown single">
<div ng-show="$select.open" class="ui-select-choices selectize-dropdown single select-drop-append-to-layer">
<div class="ui-select-choices-content selectize-dropdown-content">
<div class="ui-select-choices-group optgroup">
<div ng-show="$select.isGrouped" class="ui-select-choices-group-label optgroup-header" ng-bind-html="$group.name"></div>