Opened 4 years ago

Last modified 18 months ago

#18706 new defect

Dialog: won't let 3rd party dialogs get focus

Reported by: KGlickman Owned by: bill
Priority: undecided Milestone: 1.14
Component: Dijit Version: 1.10.4
Keywords: Cc:
Blocked By: Blocking:

Description

I have a widget in a dojo dialog that brings up it's own div dialogs that are not dojo dialogs. The div dialog has a higher z-index than the dojo dialog so it shows up fine. However, none of it's input fields can get focus.

We tracked it down to a call to focus.watch in dijit/Dialog which forces the focus back in to the dialog if the user clicks outside it, unless the focus was lost to a dijit popup. Since this dialog does not have the dijitPopup class, it can never get focus.

This code needs to be changed to make sure the dialog is highest in the z order before forcing the focus back to it.

Change History (4)

comment:1 Changed 4 years ago by KGlickman

I forgot to mention that this is on Chrome and Firefox, not IE.

comment:2 Changed 4 years ago by bill

Component: GeneralDijit
Owner: set to bill
Summary: Dojo dialog won't let 3rd party dialogs get focusDialog: won't let 3rd party dialogs get focus

comment:3 Changed 3 years ago by dylan

Milestone: tbd1.12

comment:4 Changed 18 months ago by dylan

Milestone: 1.131.14
Note: See TracTickets for help on using tickets.