Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

227
Visualizações
paper-menu-button in vaadin 14 lit template animation error

Starting from here vaadin-item @click event in lit template I replaced the

<vaadin-dropdown-menu label="Page Size">
  <template>
    <vaadin-list-box>
      <vaadin-item @click="${event => this.setLimit(10)}">10</vaadin-item>
      <vaadin-item @click="${event => this.setLimit(25)}">25</vaadin-item>
      <vaadin-item @click="${event => this.setLimit(50)}">50</vaadin-item>
      <vaadin-item @click="${event => this.setLimit(100)}">100</vaadin-item>
   </vaadin-list-box>
 </template>
</vaadin-dropdown-menu>

with

<paper-menu-button>
  <paper-icon-button icon="menu" slot="dropdown-trigger">
    </paper-icon-button>
      <paper-listbox slot="dropdown-content">
        <paper-item>10</paper-item>
        <paper-item>25</paper-item>
        <paper-item>50</paper-item>
        <paper-item>100</paper-item>
    </paper-listbox>
  </paper-menu-button>     

The problem I'm now facing is that I'm getting animation exceptions in the javascript console when clicking on the menu icon that opens the select dropdown:

vaadin-bundle-f3342f1907b875298b7b.cache.js:7198 Couldnt play ( fade-in-animation ). TypeError: document.timeline.play is not a function at HTMLElement._configureAnimations (vaadin-bundle-f3342f1907b875298b7b.cache.js:7198) at HTMLElement.playAnimation (vaadin-bundle-f3342f1907b875298b7b.cache.js:7198) at HTMLElement._renderOpened (vaadin-bundle-f3342f1907b875298b7b.cache.js:7228) at HTMLElement.__openedChanged (vaadin-bundle-f3342f1907b875298b7b.cache.js:7198) at HTMLElement. (vaadin-bundle-f3342f1907b875298b7b.cache.js:7198)

Unsure on what can be done to fix this.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda