-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
_Blur()
acts as event handler for input.blur event.
It's signature looks like this (took from compiled, vanilla JS code):
_Blur: function (now) {
if (now === void 0) { now = false; }
if (now) {
this._Close();
}
else {
var params = this;
setTimeout(function () {
params._Blur(true);
}, 150);
}
},
However, now
is always a FocusEvent instance. Therefore, now is always equal (in non-strict sense) to true, and timeout is never fired. This causes race condition between click on suggestion element and animation of closing list with suggestion elements. If you remove close animation, click event will be never fired.
Metadata
Metadata
Assignees
Labels
No labels