Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

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

@jean-maxime

Description

@jean-maxime

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions