This project is archived and is in readonly mode.

#386 ✓resolved
Jean-Philippe Déry

Element.position is not working correctly when the window is scrolled

Reported by Jean-Philippe Déry | September 24th, 2010 @ 08:26 PM | in 1.3.0.1 rc1

Element.position seems to be a bit broken in 1.3.

Look at the example below and make sure you click on each 3 buttons.

http://jsfiddle.net/TYTUy/1/

The first one position the element correctly, both centered vertically and horizontally. However this is not the case for the last two buttons as the element gets way below the center of the screen. This behavior is not present in 1.2.5.

Thanks

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 »

The MooTools Extensions

Pages