mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Show tooltip before positioning it to fix scrolling issue, then hide again before animation
This commit is contained in:
4
ui/jquery.ui.tooltip.js
vendored
4
ui/jquery.ui.tooltip.js
vendored
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user