Opened 14 years ago
Closed 13 years ago
#3734 closed defect (fixed)
_onBlur not called when focus moves from edit widget out of client area
Reported by: | ptbrunet | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | Dijit | Version: | 0.9 |
Keywords: | Cc: | [email protected]… | |
Blocked By: | Blocking: |
Description
_onBlur is not called if in the edit box and shift tabbing backward out of the first widget or tabbing forward out of the last widget.
Change History (2)
comment:1 Changed 14 years ago by
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Right, so the trick here is differentiating between
Looking at: http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/util/test_focusWidget.html
Tabbing off the last focusable element should put the entire stack of active widgets as inactive. I.e. all the red borders should disappear. (Doesn't work currently.) Have to detect when there's an onblur event (or maybe a TAB/shift-TAB that bubbles up to <body>) without a corresponding onfocus event or mousedown event, as a queue that focus has moved off the screen.
Or is there a better way to detect that?