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

TypeError: Cannot read property 'cancel' of null when click on paper-menu-button #132

Open
6 tasks
jean-maxime opened this issue Jan 19, 2018 · 4 comments
Open
6 tasks

Comments

@jean-maxime
Copy link

jean-maxime commented Jan 19, 2018

Description

When I click on the paper-menu-button and the listbox show, I've got this warnings in the console :

  • Couldnt play ( fade-in-animation ). TypeError: Cannot read property 'cancel' of null
  • Couldnt play ( paper-menu-grow-width-animation ). TypeError: Cannot read property 'cancel' of null
  • Couldnt play ( paper-menu-grow-height-animation ). TypeError: Cannot read property 'cancel' of null

From the file neon-animation-runner-behavior.html:39

error

Here is the code I use :

<paper-menu-button> <paper-button slot="dropdown-trigger" raised> <custom-icon iconset="head" icon="medium"></custom-icon> <span>Bonjour [[username]]</span> </paper-button> <paper-listbox slot="dropdown-content"> <paper-item on-tap="_goToMyAccount"> <custom-icon iconset="option" icon="normal"></custom-icon> <span>[[localize('page account')]]</span> </paper-item> <paper-item on-tap="_logout"> <custom-icon iconset="deconnexion" icon="normal"></custom-icon> <span>[[localize('label logout')]]</span> </paper-item> </paper-listbox> </paper-menu-button>

Any idea ?

Browsers Affected

  • [x ] Chrome
  • [x ] Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10
@sandro-k
Copy link

@jean-maxime just had the same error when loading web-animations-next-lite.min.js via <script src="../web-animations-js/web-animations-next-lite.min.js"></script> and later on importing via <link rel="import" href="../bower_components/neon-animation/web-animations.html">

@jean-maxime
Copy link
Author

If I remember, I'm note importing web animatio next liten and I don't have problems anymore. Try it and tell me if the problem persist

@vrspider
Copy link

Hi @sandro-k is your problem solved ?

@sandro-k
Copy link

Can be closed

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

3 participants