This project is archived and is in readonly mode.

#744 ✓resolved
Anders Bergvall

Element Position Error - Move to Mootools.More

Reported by Anders Bergvall | September 12th, 2009 @ 04:21 PM

I had some problems positioning a Clientcide StickyWin.PointyTip in a scrolled div. After a long time searching for the error I found out that it's a bug in the Mootools More.

In a scrolled DIV the position is returned wrong in FF 3.5.2 and probably other browsers. In the Element.Position.js - function position. (should be rows between 1624, 1628) it's some code

if (Browser.Engine.trident){

var scrolls = rel.getScrolls();
top += scrolls.y;
left += scrolls.x;

}

If I remove this if-statement the position will be correct. I guess the if-statement should include the FF browser instead of removing the if-statement as I did.

Let me know if you need more information.

This ticket should be moved to Mootools More.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

Pages