From 18a526ad78a0b154e6ce6dc430a025bec7fa2ee2 Mon Sep 17 00:00:00 2001 From: jzaefferer Date: Wed, 19 May 2010 18:51:38 +0200 Subject: Show tooltip before positioning it to fix scrolling issue, then hide again before animation --- ui/jquery.ui.tooltip.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js index f64f40248..134e7546a 100644 --- a/ui/jquery.ui.tooltip.js +++ b/ui/jquery.ui.tooltip.js @@ -104,9 +104,9 @@ $.widget("ui.tooltip", { this.tooltip.css({ top: 0, left: 0 - }).position($.extend(this.options.position, { + }).show().position($.extend(this.options.position, { of: target - })); + })).hide(); this.tooltip.attr("aria-hidden", "false"); target.attr("aria-describedby", this.tooltip.attr("id")); -- cgit v1.2.3