diff --git a/select2.js b/select2.js index 7c918e99..2d3cb429 100644 --- a/select2.js +++ b/select2.js @@ -2181,7 +2181,7 @@ the specific language governing permissions and limitations under the Apache Lic // without this the search field loses focus which is annoying if (document.activeElement === this.body.get(0)) { window.setTimeout(this.bind(function() { - if (this.opened()) { + if (this.opened() && this.results && this.results.length > 1) { this.search.focus(); } }), 0);