[Tabs] Animation error
See original GitHub issueBug, 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?
- Create an md-tab-group inside another md-tab-group and set property selectedIndex to a local variable
[(selectedIndex)]="innerTabIndex"
. - Open the page, select the last tab on the inner tab group, generally jump between tabs
- 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
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:8 (1 by maintainers)
Top GitHub Comments
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.
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.