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

opentip does not reposition if tipjoint is left or right and window resizes #131

Open sakattack opened 8 years ago

sakattack commented 8 years ago

Ok, so I have a situation where I instantiate my opentips with tipJoint as bottom left. When the window resizes enough and it's width is not enough to contain the opentip, the opentip does not reposition itself on the top or bottom (essentially removing the left or right tipjoint ), however if i set tipjoint top or bottom (no left or right) then I see that the opentip does reposition itself adding left or right to the tipjoint as needed.

How can I make the opentip go from bottom left tipjoint to top tipjoint if there is not enough window width?