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

[Tabs] Animation error #4271

Closed
alexciesielski opened this issue Apr 25, 2017 · 8 comments
Closed

[Tabs] Animation error #4271

alexciesielski opened this issue Apr 25, 2017 · 8 comments
Assignees
Labels
P2 The issue is important to a large percentage of users, with a workaround

Comments

@alexciesielski
Copy link

Bug, feature request, or proposal:

Bug

What is the expected behavior?

No errors

What is the current behavior?

MdTabBody.html:1 ERROR DOMException: Failed to execute 'animate' on 'Element': Partial keyframes are not supported.
at WebAnimationsPlayer._triggerWebAnimation (http://localhost:4200/vendor.bundle.js:67793:35)
at WebAnimationsPlayer.init (http://localhost:4200/vendor.bundle.js:67776:29)
at InjectableAnimationEngine.DomAnimationEngine._queuePlayer (http://localhost:4200/vendor.bundle.js:67067:16)
at InjectableAnimationEngine.DomAnimationEngine.animateTransition (http://localhost:4200/vendor.bundle.js:66982:14)
at InjectableAnimationEngine.DomAnimationEngine.setProperty (http://localhost:4200/vendor.bundle.js:66853:18)
at AnimationRenderer.setProperty (http://localhost:4200/vendor.bundle.js:94476:26)
at DebugRenderer2.setProperty (http://localhost:4200/vendor.bundle.js:13622:23)
at setElementProperty (http://localhost:4200/vendor.bundle.js:9897:19)
at checkAndUpdateElementValue (http://localhost:4200/vendor.bundle.js:9816:13)
at checkAndUpdateElementInline (http://localhost:4200/vendor.bundle.js:9750:24)
at checkAndUpdateNodeInline (http://localhost:4200/vendor.bundle.js:12443:23)
at checkAndUpdateNode (http://localhost:4200/vendor.bundle.js:12418:16)
at debugCheckAndUpdateNode (http://localhost:4200/vendor.bundle.js:13047:59)
at debugCheckRenderNodeFn (http://localhost:4200/vendor.bundle.js:13026:13)
at Object.eval [as updateRenderer] (ng:///MdTabsModule/MdTabBody.ngfactory.js:183:5)

What are the steps to reproduce?

  1. Create an md-tab-group inside another md-tab-group and set property selectedIndex to a local variable [(selectedIndex)]="innerTabIndex".
  2. Open the page, select the last tab on the inner tab group, generally jump between tabs
  3. See that it throws an error.

Which versions of Angular, Material, OS, browsers are affected?

_                      _                 ____ _     ___

/ \ _ __ __ _ _ | | __ _ _ __ / | | | |
/ △ \ | '
\ / _ | | | | |/ _ | '
| | | | | | |
/ ___ | | | | (
| | || | | (| | | | || | | |
// __| ||_, |_,||_,|| _|||
|___/
@angular/cli: 1.0.0
node: 7.9.0
os: win32 x64
@angular/animations: 4.0.1
@angular/common: 4.0.1
@angular/compiler: 4.0.1
@angular/core: 4.0.1
@angular/forms: 4.0.1
@angular/http: 4.0.1
@angular/material: 2.0.0-beta.3
@angular/platform-browser: 4.0.1
@angular/platform-browser-dynamic: 4.0.1
@angular/router: 4.0.1
@angular/cli: 1.0.0
@angular/compiler-cli: 4.0.1

Tested on latest Chrome

@mmalerba mmalerba added the P2 The issue is important to a large percentage of users, with a workaround label Apr 26, 2017
@nithril
Copy link

nithril commented May 13, 2017

Same issue using tooltip on chrome Version 60.0.3088.3

See this plunkr :
https://plnkr.co/edit/8zJMT9PJbNLxNT6wpAmH?p=preview

Does not reproduce on chrome 58 or on firefox.

@ahirhasmukh
Copy link

I have also fetch this error

error_123

@gm112
Copy link

gm112 commented Jun 13, 2017

I can reproduce this same error using the following. Would also like to point out that this same snippet worked just fine in 4.1.3. Might downgrade from 4.2 until this is fixed, however

<button md-icon-button [@buttonOffset]="offsetStatus">
	    <md-icon (click)="onToggleNavBarComponent()">menu</md-icon>
	</button>

@ghost
Copy link

ghost commented Jul 20, 2017

Any progress on this?

@stephengeorgewest
Copy link

I posted in #3968, I'm not sure it is a tab specific issue. I'm getting it with no tabs. I too will have to roll back from 4.3.0

@andrewseguin
Copy link
Contributor

Can you verify that this is still an issue? I believe this was something fixed in Core

@andrewseguin andrewseguin changed the title md-tab-group: Failed to execute 'animate' on 'Element': Partial keyframes are not supported. [Tabs] Animation error Oct 19, 2017
@monoflash
Copy link

monoflash commented May 22, 2018

The problem remains as it was or again appeared in the code.
If slow, very slow move mouse over the matTooltip, then there is no error.
But if move mouse a little faster, and hit the next tooltip, then a lot of errors take off.

errors

browserjs

err

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P2 The issue is important to a large percentage of users, with a workaround
Projects
None yet
Development

No branches or pull requests

8 participants