-
Notifications
You must be signed in to change notification settings - Fork 34
Custom duration/delay #8
Comments
This is in early stages and there are bugs, but there's some code in the |
Looks like you are switching from CSS transitions to native/js animations. This can be really good, allowing much more flexibility and control then CSS transitions. |
Tested the new core-animated-pages that uses web-animations-next. The animation is jittery and duration seems longer. Even if element.animate is natively available I am getting a javascript animation. Is this a bug/issue in web-animations-next? |
I think the polyfill is supposed to use I'll likely keep this work in the branch until some bugs are resolved with the web animations polyfill. In particular, there's some issues with the |
I've created a test using the web-animations-next polyfill running on Chrome 37, with native support. Unfortunately the polyfill is not using the native element.animate and is doing a Javascript animation. Probably this is why the animation is jittery. Also not sure but both JS and native animation may run in parallel and this can cause the performance issues. See the test here: I think that this should be submitted as a bug in web-animations-next. Thanks |
In order to create choreograph interactions, the used should be able to specify custom delays and durations associated to the respective animation.
Currently there is no way of doing that, All delays and duration are specified globally in CoreStyle.g.transitions
A nice way of doing that would be declarative:
Thank you.
The text was updated successfully, but these errors were encountered: