Bug Tracker

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#7657 closed bug (duplicate)

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

Reported by: tsvetelina.ivanova@… Owned by:
Priority: low Milestone: 1.5
Component: effects Version: 1.4.3
Keywords: Cc:
Blocked by: Blocking:

Description

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))
0;

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 7 years ago by anonymous

Bug still present in 1.4.4 Please fix this.

comment:2 Changed 7 years ago by jitter

Resolution: duplicate
Status: newclosed

comment:3 Changed 7 years ago by jitter

Duplicate of #7193.

comment:4 Changed 7 years ago by jitter

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