Opened 10 years ago
Closed 8 years ago
#9145 closed bug (notabug)
Tooltip: Disabled tooltip opens after content is changed
Reported by: | jbaber | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.tooltip | Version: | 1.10.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
jQuery version:
1.9.1
jQueryUI version:
>=1.9.2
browser:
firefox 19.0.2
operating system:
Windows 7
To reproduce issue:
use jQueryUI>=1.9.2 (1.9.0 and 1.9.1 behave as expected)
initialize disabled tooltip with
$('#id').tooltip({disabled:true});
open it by
$('#id').tooltip('open');
hover mouse over the tipped object and exit
tip disappears
expected behavior:
tip shouldn't hear the mouse exiting and stay put
jsFiddle example:
Change History (4)
comment:1 Changed 10 years ago by
Status: | new → open |
---|---|
Summary: | Disabled tooltip still reacts to mouse exit. → Tooltip: Disabled tooltip opens after content is changed |
comment:2 follow-up: 3 Changed 10 years ago by
Is this fix looks ok ?
https://github.com/dekajp/jquery-ui/commit/102c966a4b565c157152ad5e365a62a19f2f5a82
comment:3 Changed 10 years ago by
Replying to dekajp:
Is this fix looks ok ?
https://github.com/dekajp/jquery-ui/commit/102c966a4b565c157152ad5e365a62a19f2f5a82
It seems reasonable to me. Feel free to submit that as a pull request.
comment:4 Changed 8 years ago by
Resolution: | → notabug |
---|---|
Status: | open → closed |
This was fixed in 1.11.0. I'm not sure which commit did it (see http://jqueryui.com/changelog/1.11.0/#tooltip), but I'm going to close this as notabug.
Disabled tooltips shouldn't be openable. Although it appears that if the content is changed before the tooltip is opened it can be http://jsfiddle.net/tj_vantoll/RfkY7/.