Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#7657 closed bug (duplicate)

"cur" does not return negative numbers, that are less than "-10000"

Reported by: [email protected] Owned by:
Priority: low Milestone: 1.5
Component: effects Version: 1.4.3
Keywords: Cc:
Blocked by: Blocking:


In case you want to animate an element, from position left:-11000, to position left:-12000, you will end up animating it from position left:0, to position left:-12000.

This is a result of a change in the method that gets the current CSS value (cur):

return r && r > -10000 ? r : parseFloat(jQuery.curCSS(this.elem, this.prop))

changed to:

return r && r > -10000 ? r : 0;

I am trying to animate an element with a variable number of child elements to show each child element at a time. In case I have, for example, 12 child elements with width=1000px, animating from the 11th to the 12th will result in an incorrect animation.

Change History (4)

comment:1 Changed 12 years ago by anonymous

Bug still present in 1.4.4 Please fix this.

comment:2 Changed 12 years ago by jitter

Resolution: duplicate
Status: newclosed

comment:3 Changed 12 years ago by jitter

Duplicate of #7193.

comment:4 Changed 12 years ago by jitter

Component: unfiledeffects
Milestone: 1.61.5
Priority: undecidedlow
Note: See TracTickets for help on using tickets.