Hi,
quick newbee question: How can I come around this behavior?
When I have connected a tooltip to a button and I move over with the mouse to the button I can see the tooltip. When I press the button to open a dialog and I close the dialog this button gets the focus again. And then it shows the tooltip forever because it holds the focus until I click on anything else. How can I release the focus on return of a dialog on that button automatically or how can I disable the tooltip on focus?
Thanks
Manfred

Same problem here. In
Same problem here. In http://trac.dojotoolkit.org/changeset/9233 Dialog got functionality to explicitly restore the focus to where it was before the dialog opened.
This really ruins the tooltip behavior...
My temporary fix is to destroy the tooltip when I open the dialog...
Solved. There is a param in
Solved.
There is a param in Dialog:
// refocus: Boolean
// A Toggle to modify the default focus behavior of a Dialog, which
// is to re-focus the element which had focus before being opened.
// False will disable refocusing. Default: true
refocus: true,
yah...
That's a good workaround except of course it messes up the accessibility of your application.
I don't have a better solution though. The thing is that when a user that can't use the mouse tabs to a button, the tooltip is supposed to show up and not disappear until he tabs away.
=========
Bill Keese
Project Lead (aka BDFL) of Dijit