https://bugzilla.wikimedia.org/show_bug.cgi?id=41086
Web browser: ---
Bug #: 41086
Summary: RL module jquery.tipsy should provide an option for
DOM-parent
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: JavaScript
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
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)
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l