This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.
tooltip increases the length of the page #4682
Closed
Description
I have found that when the tooltip disappears for a moment the page length is increased by the tooltip element height.
Tooltip configured with appendToBody: true
$uibTooltipProvider.options({
placement: 'top',
animation: false,
popupDelay: 0,
appendToBody: true
});
Markup is trivial
<a href="#" class="btn blue" uib-tooltip="Edit">
<i class="fa fa-edit"></i>
</a>
Tooltip element at this moment (when it disappears) looks like:
Normally, the the element has a style: style="visibility: visible; display: block; top: 513px; left: 1688.25px;"
visibility:hidden
in fact, it does not hide the the element and it appears at the end of the page. The page length increases, for a moment appears a scroll bar.
I think should be display:none
instead of visibility:hidden
or just don't remove top
& left
position.
Metadata
Metadata
Assignees
Labels
No labels