Side navigation
#7657 closed bug (duplicate)
Opened November 30, 2010 09:15AM UTC
Closed November 30, 2010 10:48AM UTC
Last modified January 10, 2011 01:13PM UTC
"cur" does not return negative numbers, that are less than "-10000"
Reported by: | tsvetelina.ivanova@telerik.com | 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.
Bug still present in 1.4.4
Please fix this.