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

Animation error #38

Closed
1 of 2 tasks
BorntraegerMarc opened this issue May 31, 2017 · 2 comments
Closed
1 of 2 tasks

Animation error #38

BorntraegerMarc opened this issue May 31, 2017 · 2 comments

Comments

@BorntraegerMarc
Copy link

BorntraegerMarc commented May 31, 2017

Description

When adding the following code:

        <paper-menu-button id="actionMenu" vertical-align="bottom" #actionMenu>
            <paper-icon-button src="assets/imgs/plus-icon.png" slot="dropdown-trigger" class="dropdown-trigger attachment-button menu-trigger"></paper-icon-button>
            <paper-listbox slot="dropdown-content" class="dropdown-content menu-content" ignoreSelect="false">
                <paper-item class="menu-item mi-new-task komed-menu-item" (click)="addNewTask()">
                    {{'task.addTask' | translate}}
                </paper-item>
                <paper-item class="menu-item mi-new-file komed-menu-item" (click)="addNewFile()">
                    {{'chat.newFile' | translate}}
                </paper-item>
            </paper-listbox>
        </paper-menu-button>

And click on the button I get this warning in the console:

Couldnt play ( fade-in-animation ). ReferenceError: KeyframeEffect is not defined
    at HTMLElement.configure (fade-in-animation.html:39)
    at HTMLElement._configureAnimations (neon-animation-runner-behavior.html:33)
    at HTMLElement.playAnimation (neon-animation-runner-behavior.html:93)
    at HTMLElement._renderOpened (iron-dropdown.html:233)
    at HTMLElement.__openedChanged (iron-overlay-behavior.html:541)

And the whole page freezes.

Expected outcome

No error

Actual outcome

Live Demo

Steps to reproduce

Browsers Affected

  • [ X] Chrome
  • [ X] Firefox
  • [ X] Safari 9
  • [ X] Safari 8
  • [ X] Safari 7
  • [ X] Edge
  • IE 11
  • IE 10
@BorntraegerMarc
Copy link
Author

Same error when adding
<link rel="import" href="assets/bower_components/neon-animation/web-animations.html">

@BorntraegerMarc
Copy link
Author

Saw that the issue lies else where. opened up PolymerElements/paper-menu-button#125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant