1
0
mirror of synced 2024-11-25 22:36:03 +03:00

Merge pull request #1639 from francoispluchino/fix-close-focus

Fix the focus when list is closed on the mouse click event
This commit is contained in:
Igor Vaynberg 2013-10-08 20:25:21 -07:00
commit 0d0882942f

View File

@ -1302,7 +1302,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();
}