Page MenuHomePhabricator

jquery.tipsy tooltips don't display correctly close to the edge of the sceen
Open, MediumPublic


In LTR mode, then the tooltip is close to the edge of the screen, the tip points to the wrong place. (The tooltip is moved so that it doesn't extend outside the screen, and the tip is moved as well.)

In RTL mode, the tooltip just goes outside the screen. (Might be a consequence of the ResourceLoader direction flipping.)

Version: 1.24rc
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:33 AM
bzimport set Reference to bz67506.
bzimport added a subscriber: Unknown Object (MLST).

Is the bug still valid? It seems that now (1.26alpha 2e05594) there is no code enabled by default responsible for handling the 'tooltip is close to the screen edge' situation. instead, there is a $.fn.tipsy.autoBounds function (it needs to be passed as gravity option to tipsy() function) which changes the tooltip gravity depending on how far it is from the document edge - and this one works well for me, both in LTR and RTL mode.