Opened 15 years ago
Closed 13 years ago
#2582 closed bug (invalid)
[tooltip] Manipulate tooltip in select
Reported by: | alexanmtz | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.2.4 |
Component: | plugin | Version: | 1.2 |
Keywords: | tooltip | Cc: | |
Blocked by: | Blocking: |
Description
When you hover a tooltip in a select, it should disappear when you are selecting a option. In this case, the tooltip are putting the box of tip completely in wrong place. And worse: when you are hovering the option the tooltip keeps behind them, whats its strange user experience.
I try to solve this problem with this code
$("select").click(function(){ $.Tooltip.blocked ? $.Tooltip.blocked = false : $.Tooltip.blocked = true; $("#tooltip:hidden").length ? $("#tooltip").show() : $ ("#tooltip").hide(); }); $("select").blur(function(){ $.Tooltip.blocked = false; });
It works in firefox, blocking the tooltip when you click in a select and when you exit the tooltip back to act
But didnt works in safari and IE.
Note: See
TracTickets for help on using
tickets.
This is not a jQuery core bug. Please report plugin bugs to the plugin's author, or ask on the jQuery forums. jQuery UI bugs should be reported on the UI bug tracker, http://dev.jqueryui.com .