Skip to content

Commit 3c7b439

Browse files
committed
Fixed dropdown keyboard scrolling.
1 parent 206edd7 commit 3c7b439

14 files changed

Lines changed: 52 additions & 30 deletions

dist/css/selectize.bootstrap2.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,7 @@
162162
.selectize-dropdown {
163163
position: absolute;
164164
z-index: 2;
165-
max-height: 200px;
166165
margin-top: -1px;
167-
overflow-x: hidden;
168-
overflow-y: auto;
169166
background: #ffffff;
170167
border: 1px solid #cccccc;
171168
border-top: 0 none;
@@ -219,6 +216,12 @@
219216
color: inherit;
220217
}
221218

219+
.selectize-dropdown-content {
220+
max-height: 200px;
221+
overflow-x: hidden;
222+
overflow-y: auto;
223+
}
224+
222225
.selectize-control.single .selectize-input,
223226
.selectize-control.single .selectize-input input {
224227
cursor: pointer;

dist/css/selectize.bootstrap2.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/selectize.bootstrap3.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,7 @@
130130
.selectize-dropdown {
131131
position: absolute;
132132
z-index: 2;
133-
max-height: 200px;
134133
margin-top: -1px;
135-
overflow-x: hidden;
136-
overflow-y: auto;
137134
background: #ffffff;
138135
border: 1px solid #cccccc;
139136
border-top: 0 none;
@@ -187,6 +184,12 @@
187184
color: inherit;
188185
}
189186

187+
.selectize-dropdown-content {
188+
max-height: 200px;
189+
overflow-x: hidden;
190+
overflow-y: auto;
191+
}
192+
190193
.selectize-control.single .selectize-input,
191194
.selectize-control.single .selectize-input input {
192195
cursor: pointer;

dist/css/selectize.bootstrap3.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/css/selectize.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,7 @@
130130
.selectize-dropdown {
131131
position: absolute;
132132
z-index: 2;
133-
max-height: 200px;
134133
margin-top: -1px;
135-
overflow-x: hidden;
136-
overflow-y: auto;
137134
background: #ffffff;
138135
border: 1px solid #d0d0d0;
139136
border-top: 0 none;
@@ -187,6 +184,12 @@
187184
color: #a0a0a0;
188185
}
189186

187+
.selectize-dropdown-content {
188+
max-height: 200px;
189+
overflow-x: hidden;
190+
overflow-y: auto;
191+
}
192+
190193
.selectize-control.single .selectize-input,
191194
.selectize-control.single .selectize-input input {
192195
cursor: pointer;

dist/css/selectize.default.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,7 @@
130130
.selectize-dropdown {
131131
position: absolute;
132132
z-index: 2;
133-
max-height: 200px;
134133
margin-top: -1px;
135-
overflow-x: hidden;
136-
overflow-y: auto;
137134
background: #ffffff;
138135
border: 1px solid #d0d0d0;
139136
border-top: 0 none;
@@ -187,6 +184,12 @@
187184
color: #a0a0a0;
188185
}
189186

187+
.selectize-dropdown-content {
188+
max-height: 200px;
189+
overflow-x: hidden;
190+
overflow-y: auto;
191+
}
192+
190193
.selectize-control.single .selectize-input,
191194
.selectize-control.single .selectize-input input {
192195
cursor: pointer;

0 commit comments

Comments
 (0)