Skip to main content

Bug Tracker

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.

Attachments (0)
Change History (4)

Changed November 30, 2010 10:11AM UTC by anonymous comment:1

Bug still present in 1.4.4

Please fix this.

Changed November 30, 2010 10:48AM UTC by jitter comment:2

resolution: → duplicate
status: newclosed

Changed November 30, 2010 10:48AM UTC by jitter comment:3

Duplicate of #7193.

Changed January 10, 2011 01:13PM UTC by jitter comment:4

component: unfiledeffects
milestone: 1.61.5
priority: undecidedlow