[regression] Dialog: wrong "calculation of focus lost" on Dialog with iframe
Changesets [29823] and [29999] represent a mechanism for the return of focus "If focus is accidentally lost from a Dialog" - but its algorithm is wrong. If inside the dialog will be iframe - his becomes unusable (click on iframe and focus instantly moves to the first element).
Change History (3)
Description: |
modified (diff)
|
Milestone: |
tbd →
1.9
|
Status: |
new →
assigned
|
Summary: |
wrong "calculation of focus lost" →
Dialog: wrong "calculation of focus lost" on Dialog with iframe
|
Priority: |
undecided →
high
|
Milestone: |
1.9 →
1.8.4
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
Summary: |
Dialog: wrong "calculation of focus lost" on Dialog with iframe →
[regression] Dialog: wrong "calculation of focus lost" on Dialog with iframe
|
Whenever an application creates an iframe that can be focused by the user (i.e. that has focusable/clickable controls), the application is supposed to register the iframe via dijit/focus::registerIframe(frame).
This has actually been a requirement since version 1.0 or earlier, but admittedly it's become much more essential to do after the above changesets.
I'd be happy to eliminate the requirement but not sure how. Perhaps a ContentPane could scan for iframes in it's content and register them automatically. I'll see if that works.