mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Show tooltip before positioning it to fix scrolling issue, then hide again before animation
This commit is contained in:
parent
9f56913dcc
commit
18a526ad78
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"));
|
||||
|
Loading…
Reference in New Issue
Block a user