enyo / opentip

Opentip is an open source javascript tooltip based on the protoype framework.
http://www.opentip.org
1.25k stars 401 forks source link

Tooltip overflows viewport #72

Open Prinzhorn opened 10 years ago

Prinzhorn commented 10 years ago

Thanks for creating opentip, it's exactly what I was looking for.

I want to use opentip in a mobile website (in particular it's a PhoneGap app). That means the viewport is rather small. Now my issue is that the tooltip overflows the viewport, see screenshot

screenshot from 2013-08-03 13 19 19

Is this is known issue, when the target element is too close to the edge? What can I do about it?

For me the perfect solution would be that the tooltip fills the whole width (with some spacing left/right). But this would mean that the joint would not be centered on the tooltips top.