Opened 10 years ago

Last modified 10 years ago

#10739 closed defect

Keyboard events and multiple dialogs — at Initial Version

Reported by: dylan Owned by: bill
Priority: high Milestone: tbd
Component: Dijit Version: 1.4.0
Keywords: Cc:
Blocked By: Blocking:

Description

The Dijit dialog has issues with keyboard events when multiple dialogs are open. Would this patch solve this issue? Imagine typing tab keys for controls inside a dialog, etc.

(issue identified by Lu Wei of Huawei)

Index: Dialog.js =================================================================== --- Dialog.js (revision 21342) +++ Dialog.js (working copy) @@ -422,7 +422,7 @@

this._oldViewport = viewport;

}

}));

  • this._modalconnects.push(dojo.connect(dojo.doc.documentElement, "onkeypress", this, "_onKey"));

+ this._modalconnects.push(dojo.connect(this.domNode, "onkeypress", this, "_onKey"));

dojo.style(this.domNode, {

opacity:0,

Change History (0)

Note: See TracTickets for help on using tickets.