Opened 10 years ago

Last modified 10 years ago

#14408 closed defect

IE9: _onBlur not being called — at Version 1

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 (1)

comment:1 Changed 10 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.

Note: See TracTickets for help on using tickets.