CARVIEW |
Select Language
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Sat, 11 Oct 2025 07:04:43 GMT
Content-Type: text/html
Content-Length: 162
Location: https://bugs.jquery.com/ticket/7157/
Connection: keep-alive
Reporting-Endpoints: csp-endpoint='https://csp-report-api.openjs-foundation.workers.dev/'
Content-Security-Policy: default-src 'self'; script-src 'self' 'wasm-unsafe-eval' code.jquery.com; connect-src 'self'; img-src 'self' secure.gravatar.com; style-src 'self'; media-src 'self' content.jquery.com; report-uri https://csp-report-api.openjs-foundation.workers.dev/; report-to csp-endpoint
HTTP/1.1 200 OK
Server: nginx
Date: Sat, 11 Oct 2025 07:04:44 GMT
Content-Type: text/html
Last-Modified: Wed, 18 Sep 2024 14:30:36 GMT
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
ETag: W/"66eae40c-4505"
Reporting-Endpoints: csp-endpoint='https://csp-report-api.openjs-foundation.workers.dev/'
Content-Security-Policy: default-src 'self'; script-src 'self' 'wasm-unsafe-eval' code.jquery.com; connect-src 'self'; img-src 'self' secure.gravatar.com; style-src 'self'; media-src 'self' content.jquery.com; report-uri https://csp-report-api.openjs-foundation.workers.dev/; report-to csp-endpoint
Content-Encoding: gzip
#7157 (Animation callback shows element is still ":animated") - jQuery - Bug Tracker
jQuery issues have moved to GitHub. This site is now a static archive of the old Trac bugs site. Some functions and pages are no longer available.
Skip to main content
Bug Tracker
Side navigation
#7157 closed bug (fixed)
Opened October 12, 2010 04:52AM UTC
Closed May 18, 2012 05:54PM UTC
Last modified June 05, 2012 06:39PM UTC
Animation callback shows element is still ":animated"
Reported by: | Motty | Owned by: | gnarf |
---|---|---|---|
Priority: | low | Milestone: | 1.8 |
Component: | effects | Version: | 1.4.2 |
Keywords: | animation callback | Cc: | |
Blocked by: | Blocking: |
Description
After an element has completed its animation, the callback still shows that the element is animated. I posted a demo here: https://jsfiddle.net/5V5M3/
$(".block").animate({ "left": "+=50px" }, "slow", function() { alert($(".block").is(':animated')); });
I can hack around it by basically using a setTimeout:
$(".block").animate({ "left": "+=50px" }, "slow", function() { setTimeout(function() { alert($(".block").is(':animated')) }, 0); });
Attachments (0)
Change History (9)
Changed October 13, 2010 12:46AM UTC by snover comment:1
status: | new → open |
---|
Changed November 12, 2010 02:40AM UTC by snover comment:2
milestone: | 1.4.3 |
---|
Resetting milestone to future.
Changed March 30, 2011 07:59PM UTC by ajpiano comment:3
milestone: | → 1.next |
---|
Still an issue in jQuery 1.5.2rc
Changed April 10, 2011 07:54PM UTC by dmethvin comment:4
There is a test case in https://github.com/jquery/jquery/pull/273 that might be handy.
Changed July 12, 2011 05:21PM UTC by timmywil comment:5
owner: | → timmywil |
---|---|
priority: | undecided → low |
status: | open → assigned |
Changed September 29, 2011 02:17PM UTC by timmywil comment:6
milestone: | 1.next → 1.8 |
---|
Changed May 11, 2012 09:16PM UTC by gnarf comment:7
owner: | timmywil → gnarf |
---|