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:
commit
0d0882942f
@ -1302,7 +1302,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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user