#7760 closed bug (duplicate)
animate left to values over -11000px
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | 1.5 |
Component: | effects | Version: | 1.4.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
when i use animate like $('#content').animate({left:-1000}); and the value of left is already beneath -10000 it hops to -1000.
Change History (6)
comment:1 Changed 12 years ago by
comment:3 Changed 12 years ago by
Here's the reason:
Animate uses e.cur() to get it's start value. That will return 0 if a value smaller than -10000 is used.
Line 6623 of jquery 1.4.4: return r && r > -10000 ? r : 0;
My current solution is to just change that value to something smaller than I know I will be using.
comment:4 Changed 12 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:6 Changed 12 years ago by
Component: | unfiled → effects |
---|---|
Milestone: | 1.6 → 1.5 |
Priority: | undecided → low |
Note: See
TracTickets for help on using
tickets.
I just tested it and it was introduced with jquery. 1.4.3 it worked up to this version.