1
0
mirror of synced 2025-02-11 01:29:23 +03:00

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

This commit is contained in:
François Pluchino 2013-08-21 12:16:50 +02:00
parent c4529b8700
commit 9bc68f089e

View File

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