Current behaviour:
- If you create a tooltip using tipsy, the tipsy-tooltip-container is appended to document.body
Evidence:
$tip.remove().css({top: 0, left: 0, visibility: 'hidden', display: 'block'}).appendTo(document.body);
- This leads to a problem with scrollable elements (other than HTLM/body):
- When you scoll that element, tipsy remains where it is, while the element moves away. Consequently tipsy points to a wrong element
- When you scoll the body, but have a position:fixed element, tipsy scrolls away while the element remains where it is.
Expected behaviour:
- Tipsy always points to the right element, despite scrolling etc.
Possible solution:
- Allow specifying the element, the tipsy-tooltip-container is appended to or do intelligent guessing on it (which will be really challenging, I guess)
Version: unspecified
Severity: minor