1
0
mirror of synced 2024-11-29 16:16:02 +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();
}