Skip to content

Commit

Permalink
fix #1658 (#1658)
Browse files Browse the repository at this point in the history
'test.aria.widgets.form.autocomplete.errorhandling.AutoComplete2' fails
on all IE

close #1403
  • Loading branch information
fbasso committed Jul 20, 2016
1 parent 878133d commit d8a22fb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/aria/widgets/form/AutoComplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,17 @@ module.exports = Aria.classDefinition({
this.$DropDownTextInput._reactToControllerReport.call(this, report, arg);
},

/**
* DOM callback function called when the focus is taken off the input. The onBlur event is available on the
* input that sits inside a span.
* @param {aria.DomEvent} event Blur event
* @protected
*/
_dom_onblur : function (event, avoidCallback) {
this._keepFocus = false;
this.$DropDownTextInput._dom_onblur.call(this, event, avoidCallback);
},

_dom_onkeydown : function (event) {
// On Shift+F10, when AutoComplete has no expand button enabled, we don't open the dropdown, we only close it
if (this._isShiftF10Pressed(event) && !this._cfg.expandButton && this._dropdownPopup == null) {
Expand Down

0 comments on commit d8a22fb

Please sign in to comment.