Skip to main content

Search and Top Navigation

#9145 closed bug (notabug)

Opened March 08, 2013 02:25PM UTC

Closed October 30, 2014 03:24PM UTC

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:

http://jsfiddle.net/Na4C3/

Attachments (0)
Change History (4)

Changed March 09, 2013 02:58AM UTC by tj.vantoll comment:1

status: newopen
summary: Disabled tooltip still reacts to mouse exit.Tooltip: Disabled tooltip opens after content is changed

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/.

Changed June 23, 2013 05:07AM UTC by dekajp comment:2

Changed June 24, 2013 12:23PM UTC by tj.vantoll comment:3

Replying to [comment:2 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.

Changed October 30, 2014 03:24PM UTC by tj.vantoll comment:4

resolution: → notabug
status: openclosed

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.