Modify ↓
Ticket #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: | |
| Blocking: | Blocked by: |
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.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
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 .