Преглед изворни кода

Fix the focus when list is closed on the mouse click event

François Pluchino пре 11 година
родитељ
комит
9bc68f089e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      select2.js

+ 1 - 1
select2.js

@@ -1267,7 +1267,7 @@ the specific language governing permissions and limitations under the Apache Lic
                         if (self.opts.selectOnBlur) {
                             self.selectHighlighted({noFocus: true});
                         }
-                        self.close({focus:false});
+                        self.close({focus:true});
                         e.preventDefault();
                         e.stopPropagation();
                     }