Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

226
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!