Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#14408 closed defect (fixed)

IE9: _onBlur not being called

Reported by: Douglas Hays Owned by: bill
Priority: high Milestone: 1.7.2
Component: Dijit Version: 1.6.1
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

Run dijit/tests/form/_autoComplete.html?testWidget=dijit.form.ComboBox on IE9. Click the arrow node to open the dropdown. Click somewhere on whitespace to close the popup. Using 1.6, it won't close. Using 1.7, it works every other time. The focus code is not calling _onBlur. Seems specific to IE9.

Change History (5)

comment:1 Changed 8 years ago by bill

Description: modified (diff)
Milestone: 1.7.2
Status: newassigned

Looks like this is fixed w/the stopEvent() change from #14410. The reason the ComboBox isn't getting the _onBlur() event is because it's never getting the _onFocus() event. Fixing the ComboBox to get focus on click of the arrow icon fixes that problem.

It actually should be working regardless of the ComboBox gets keyboard focus, because focus.js has code to put widgets in the active stack just by touching them (_onTouchNode() vs _onFocusNode()). But that must somehow be broken on IE9.

comment:2 Changed 8 years ago by bill

In [27394]:

Let mousedown event on _HasDropDown button node propagate, to fix a number of errors. Fix on trunk/, refs #14408, #14410, !strict.

comment:3 Changed 8 years ago by bill

Resolution: fixed
Status: assignedclosed

In [27410]:

Let mousedown event on _HasDropDown button node propagate, to fix a number of errors. Fixes #14408, #14410 on 1.7/ branch, !strict.

comment:4 Changed 7 years ago by bill

In [28807]:

fix typo in comment, refs #14408 !strict

comment:5 Changed 7 years ago by bill

In [28814]:

Backport [27394] to 1.6 branch, using preventDefault() rather than stopEvent(), fixes #13790, refs #12517, #14408, #14410 !strict.

Note: See TracTickets for help on using tickets.