components icon indicating copy to clipboard operation
components copied to clipboard

md-tab-group Promise rejection: Failed to execute 'animate' on 'Element'

Open sebsn86 opened this issue 9 years ago • 10 comments

Bug, feature request, or proposal:

Hi,

the mdTabGroup component seems doesn't like the [selectedIndex] attribute. Each time this parameter is defined, I have this error in the Chrome console :

Promise rejection: Failed to execute 'animate' on 'Element': Partial keyframes are not supported. ; Zone: <root> ; Task: Promise.then ; Value: DOMException: Failed to execute 'animate' on 'Element': Partial keyframes are not supported.

Any idea ?

Best regards,

sebsn86 avatar Jan 11 '17 15:01 sebsn86

What version of Angular are you using?

crisbeto avatar Jan 11 '17 16:01 crisbeto

I am using the current version, the 2.0.0-beta.1

sebsn86 avatar Jan 11 '17 16:01 sebsn86

I mean which version of the Angular framework, not Angular Material.

crisbeto avatar Jan 11 '17 16:01 crisbeto

Sorry, 2.4.2

sebsn86 avatar Jan 11 '17 17:01 sebsn86

Thanks. This sounded similar to https://github.com/angular/material2/issues/2151, although that one should be fixed with Angular 2.4.2.

crisbeto avatar Jan 11 '17 18:01 crisbeto

Yes ! Thanks, it's works perfectly with Angular 2.4.2,

have a nice day !

sebsn86 avatar Jan 12 '17 09:01 sebsn86

I also encountered similar issue when I generate the 2nd tier of dynamic tabs (the 1st tier of tabs are static).

error: Failed to execute 'animate' on 'Element': Partial keyframes are not supported.

Attached sample coding for reference. Thanks. test-tab.component.txt

angular: 2.4.1 material: 2.0.0-beta.1

vivian7169 avatar Jan 12 '17 09:01 vivian7169

Can you try using Angular 2.4.2 @vivian7169?

crisbeto avatar Jan 12 '17 09:01 crisbeto

Yes, just now upgraded to 2.4.2 and the issue fixed.

Thanks!

On 12 Jan 2017, at 5:38 PM, Kristiyan Kostadinov [email protected] wrote:

Can you try using Angular 2.4.2 @vivian7169 https://github.com/vivian7169?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/angular/material2/issues/2597#issuecomment-272117314, or mute the thread https://github.com/notifications/unsubscribe-auth/AFLILsTIOXud7VYCOuIUTv1MKXtX-IT8ks5rRfSJgaJpZM4Lgtmp.

vivian7169 avatar Jan 12 '17 09:01 vivian7169

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.