We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed0bae3 commit 2d6b74cCopy full SHA for 2d6b74c
1 file changed
select2.js
@@ -2827,7 +2827,9 @@ the specific language governing permissions and limitations under the Apache Lic
2827
}
2828
2829
this.updateResults(true);
2830
- this.search.focus();
+ if (this.opts.shouldFocusInput(this)) {
2831
+ this.search.focus();
2832
+ }
2833
this.opts.element.trigger($.Event("select2-open"));
2834
},
2835
0 commit comments