https://bugzilla.wikimedia.org/show_bug.cgi?id=65433

kipod <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from kipod <[email protected]> ---
please see bug 62971, comment 12.

i believe the problem here comes from incorrect placement of the hovercard, so
displaying it causes a "mouseout" event. 

(the very annoying flicker also demonstrate the well known and unrelated fact
that the delay before showing the hovercard is too short - many users complain
that innocently moving the mouse across the article causes hovercards to jump.
there is no good reason to have shorter than 500 or even 700 ms delay).

i believe that placing the hovercard by setting css "bottom" instead of "top"
would have prevented this issue 

(explain the hypothesis: we ask the hovercard how tall it is before it's
actually displays, which gives slightly incorrect answer. since we calculate
"top" based on the height of the card, it ends up too low, so when it displays,
it inserts itself between the mouse pointer and the element. this triggers a
"mouseout" event for the element, but not "mouseenter" event for the hovercard
itself).

we can crudely make this bug almost disappear by setting the "top" 20 or so
pixels higher, or we can really fix it by setting css "bottom" instead of "top"
when "flippedY" is true.

peace.

-- 
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

Reply via email to