Opened 7 years ago

Closed 5 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:

http://jsfiddle.net/Na4C3/

Change History (4)

comment:1 Changed 7 years ago by tj.vantoll

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

comment:3 in reply to:  2 Changed 6 years ago by tj.vantoll

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 5 years ago by tj.vantoll

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.

Note: See TracTickets for help on using tickets.