Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$.stop(false,true) fails to stop opacity animation on Chrome23, Safari6, FF17 #111

Open
konistehrad opened this issue Dec 27, 2012 · 3 comments

Comments

@konistehrad
Copy link

Attempting to call $.stop(false,true) will stop any position transitions, but will continue to run opacity animations for the duration. An example can be seen here.

A tentative fix has been made that fixes the issue in Chrome23, Safari6 but suspiciously fails to address the issue in Firefox 17.0.1. Fix can be found here. (Note: this was not submitted as a pull request because I'm not content with the lack of solution for FF and I'm relatively new into CSS transitions).

Thanks again for the great lib and your hard work!

@benbarnett
Copy link
Owner

Thanks for this, looks like this can be fixed up - I'll take a look

@benbarnett
Copy link
Owner

Hmm might require a bit more thought. I can blanket remove the transition properties, but that might be a bit aggressive. Will report back

@konistehrad
Copy link
Author

I ended up setting transition-property to 'none' as opposed to clearing the line found in this commit. That does work in all supported browsers. It's aggressive, I agree, but it is functional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants