Opened 13 years ago
Closed 10 years ago
#5641 closed defect (invalid)
Tooltip remains open if button disabled
Reported by: | guest | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | future |
Component: | Dijit | Version: | 1.0 |
Keywords: | tooltip button disabled | Cc: | |
Blocked By: | Blocking: |
Description
If a button gets disabled while its tooltip is displayed, the tooltip is nearly impossible to get rid of. Neither moving away from the button nor changing the focus to something else removes it. Activating some other tooltip on the page does seem to work, though.
Change History (6)
comment:1 Changed 13 years ago by
Milestone: | 1.0.3 → 2.0 |
---|
comment:2 Changed 13 years ago by
Milestone: | 2.0 → 1.3 |
---|
comment:3 Changed 12 years ago by
Milestone: | 1.3 → 1.4 |
---|
bumping 1.4 tickets to 1.5, and most 1.3 tickets to 1.4
comment:4 Changed 12 years ago by
Milestone: | 1.4 → future |
---|
Can you give a test case? I don't see any code in Tooltip.js that branches based on whether a button is disabled or not.
comment:5 Changed 10 years ago by
I'm not sure if the problem I am seeing is related to this one or not, but I was seeing tooltips that I had dynamically added to fields on a dialog remain on the interface if I used 'escape' to exit the dialog while the tooltip was displayed. I tried several different ways to get them to go away, and at my current point, they go away, but only because I get a very repeatable error (pasted from Firebug console below). If you want any code samples, I can provide something, and if this is unrelated to this ticket, I apologize... I never saw Dojo until almost 3 months ago.
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLInputElement.selectionStart]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost:8080/PICTEWUI/dojoroot/dojo/dojo.js :: anonymous :: line 38" data: no] toString(evt=undefined, args=undefined)dojo.js (line 14) evt = undefined args = undefined toString()dojo.js (line 14) toString()dojo.js (line 14) toString()dojo.js (line 14) toString()dojo.js (line 14)
(typeo...setTimeout(dojo._loadInit,100);}})(); |
dojo.js (line 14) exception in animation handler for: onEnd
comment:6 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Milestone 2.0 deleted