We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4dc2a62 commit 86952b4Copy full SHA for 86952b4
1 file changed
select2.js
@@ -2210,6 +2210,11 @@ the specific language governing permissions and limitations under the Apache Lic
2210
if (searchWidth < 40) {
2211
searchWidth = maxWidth - sideBorderPadding;
2212
}
2213
+
2214
+ if (searchWidth <= 0) {
2215
+ searchWidth = minimumWidth
2216
+ }
2217
2218
this.search.width(searchWidth);
2219
},
2220
0 commit comments