-
Notifications
You must be signed in to change notification settings - Fork 16.2k
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
Android animation issues #11
Comments
I imagine this is due to Android Browser not being up to speed with what Webkit supports, as it's not regularly updated, complex animations are probably implemented in beta form. I'm on latest Gingerbread (2.3.4) and the page doesn't even render for me. |
So basically use Jquery as a fallback? Maybe now would be a good time to fork this and have an animate.css and mobile-animate.css? |
I'd rather keep this thing tied up nicely - the premise of the library was to provide cross-browser, cross-platform animations. I'm working on a js/jQuery doodad to provide fallbacks but there's a problem - the JS fallback will only be active on browsers that don't support CSS animation, but Droids will show that it does support them. |
the JS fallback will only be active on browsers that don't support CSS animation, but Droids will show that it does support them. That's a pretty big problem right now, maybe have the JS/Jquery doodad check the browser agent for mobile and use the fallback then. I mean, it's better that it works properly than to let the browser try to render the animation and mess up. |
That would be a good idea, except iOS has outstanding support for these animations going back 2 OS versions. It would be unfair to those users to take that away (I'm no stranger to the pains of mobile jQuery animations) |
Oh well IIRC you can detect Android specific browser agents, and still allow iOS to use the animations. |
Can you detect versions of android? 4.0 will (hopefully) have much better support. |
I believe you can though I need to research some more (user-agent strings usually include some info on the OS version.) |
Hmm looks like you can, the user-agent of my phone's default browser is |
Alright just ran some tests. Dolphin HD
Fading Entrances / Exits The default fadeIn seems to work just fine I'll update with posts as I test each out (the location of the preview makes it kind of hard to test a few.) |
Firefox for Android supports all the animations. Just tested with the current beta (I believe stable works as well.) |
maybe why odn't using some modernizr to test if browser can or not use css animation and fall back if not ? |
@clawfire because Modernizr will return true for CSS animation on Android - it has support, just not very good. |
X.X yuk |
Various workarounds have been discovered for this, and at the end of the day it's Google's problem. Not ours. Closing. |
Android devices fail to display animated elements with more than one property within the animation keyframes.
As far as I can tell, the only possible solution is to warn users of this issue or to try and provide simpler fallback animations with only one property.
The text was updated successfully, but these errors were encountered: