diff --git a/select2.js b/select2.js index 6c96020e..d2a2683e 100644 --- a/select2.js +++ b/select2.js @@ -2210,6 +2210,11 @@ the specific language governing permissions and limitations under the Apache Lic if (searchWidth < 40) { searchWidth = maxWidth - sideBorderPadding; } + + if (searchWidth <= 0) { + searchWidth = minimumWidth + } + this.search.width(searchWidth); },