Skip to main content

Bug Tracker

Side navigation

#11524 closed bug (invalid)

Opened March 27, 2012 04:06AM UTC

Closed March 27, 2012 09:00AM UTC

Last modified March 31, 2012 07:40AM UTC

jQuery's animate method absolutely doesn't work from 1.6 to 1.7.2 in one case

Reported by: Wei Lou Owned by:
Priority: low Milestone: None
Component: effects Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

jQuery 1.5.2 can work fine. But jQuery 1.6 to 1.7.2 absolutely can't work.

How can't jQuery 1.7.2's animate method work?

In one case, it absolutely can't work. Even you open Chrome 17's developer tool's "console" panel, and then run codes below, it doesn't work. The CSS property I try to change via jQuery's animate method doesn't changed.

    "opacity": 0

My codes are pretty complicated. So I haven't found how to reproduce. But basically the reproduce steps might be:

1, Web page opened.

2, jQuery 1.7.2's animate method can work.

3, Run some codes (It might be jQuery's codes to elementA).

4, jQuery's animate method can't work to elementA. But jQuery's animate method still can work to other elements, like elementB or elementC.

Attachments (0)
Change History (4)

Changed March 27, 2012 09:00AM UTC by sindresorhus comment:1

component: unfiledeffects
priority: undecidedlow
resolution: → invalid
status: newclosed

It's probably not the animate method, but something else in your code that halts script execution. Though we would need a simplified jsfiddle testcase to investigate further.

If you require assistance with your code, please make a post in either the official jQuery Forums or on our #jquery channel on freenode. Should you be able to establish that the issue you are seeing is in fact related to core and can be reduced, we will me more than happy to investigate further at that point.

Changed March 30, 2012 03:29PM UTC by Wei Lou comment:2

I don't think this is an issue of my codes. I believe this is a bug of jQuery's new version.

If I simply use jQuery 1.5.2, it works.

If I use jQuery's animate method on other elements, it works.

If I use jQuery's animate method even on Chrome's developer tools, it can't work.

When I have time, I might look into this issue and try to reproduce. But I just think you should investigate this issue now. Perhaps look into what was changed to jQuery's animate method in jQuery 1.6 version.

Changed March 30, 2012 09:12PM UTC by dmethvin comment:3

@WeiLou, here are all the changes between jQuery 1.6 and 1.7.2:

If you can find the problem there please report it to us. It may be easier for you to create a reduced test case from your own code however.

Changed March 31, 2012 07:40AM UTC by Wei Lou comment:4


Thank you for your reply. I may look into this problem later.