If I approach a link from the left at a steady pace, the popup anchor points to where my mouse was, not is when the popup appears, even if that position is not within the bounding box of the link:
Description
Related Objects
Event Timeline
One option would be to bind a mousemove listener on mouseenter (and unbind on mouseleave/show popup), and use that to update the anchor position. The position should only 'lock' when the show animation starts.
When I do this the pointer points to the left corner of the link. I haven't been able to replicate it so that the pointer points outside the link.
Options here would be:
- make the sure the mouse is at standstill when showing the popup
- move the popup with the mouse (potentially tricky due to the different rendering rules we have)
- do nothing
Note #1 may help another problem I've noticed - that highlighting text triggers
@Nirzar need some guidance here.
Is this fixed?
@alexhollender we are focusing on page previews technical/design debt soon. Please consider if this should be a subtask of T284095.
@ovasileva do we have documentation of the proper look and behavior for page previews? They pre-date me so for QA purposes etc. it can be a bit difficult for me to figure out how they're supposed to look. It seems like it might be valuable. If we don't have documentation it'd probably be worth my time to create?