-
Notifications
You must be signed in to change notification settings - Fork 27
Getting error while trying Ripple animation. Uncaught NotSupportedError: Failed to execute 'animate' on 'Element': Partial keyframes are not supported. #28
Comments
Same problem here. |
Same problem here. Any workarounds? |
Same problem here. |
Same problem here. |
Actually usually the issue is that the original element does not have an explicit size (via CSS or style), which result in the ripple lacking an initial size, which prevent any transition. Just give the element with ripple an explicit size should solve the problem. |
problem solved in windows #placeholder {
width: 100%;
height: 100%;
}
#container {
position: absolute;
left: 0;
} |
I think the comment in #28 (comment) is right. The problem is that your element does not have an explicit size. |
Hi @classLfz , do I need to add 2 ids "placeholder" and "container" to html file, or only add your css code to my code? Thanks! |
In my case i think it's because i was using it inside a container with |
It said "Partial keyframes are not supported", which means that you are trying to change two different css properties in keyframes in a wrong way. I faced the same issue when I am changing different css properties in a wrong way using KeyframeEffect, as shown below.
later I changed it to
and that worked great. |
Similar problem here Unhandled Promise rejection: Failed to execute 'animate' on 'Element': Partial keyframes are not supported. ; Zone: ; Task: Promise.then ; Value: DOMException: Failed to execute 'animate' on 'Element': Partial keyframes are not supported.(…) Error: Failed to execute 'animate' on 'Element': Partial keyframes are not supported.
This is a route animation, the error is shows when the component is closing. Actually the animation is applied to the route element, so when removing this component this error is occurs, but when showing the element is plays the animation, ie., the exiting animation of the component shows this kind of error. |
add a transition for * => * this seems to solve the issue for me, like this
` |
Comment #28 (comment) solved a similar issue of mine. Just make sure each animation frame (object) has every property used. |
From @ankurvr7003 on July 16, 2015 9:18
I am trying to implement ripple and reverse-ripple animation in my application. My application is running on Polymer v1.0.
When i test this animation in separate page then it is working fine but when i am trying to test inside my application it shows javascript error
My app have header and side menu bar. And one thing i want to let you know is whole application is mixed up with polymer elements and other libraries like (Twitter Bootstrap, jQuery, etc).
Please help me short this out.
Thanks in advance
Copied from original issue: Polymer/polymer#2092
The text was updated successfully, but these errors were encountered: