after importing these:
import '@polymer/paper-dropdown-menu/paper-dropdown-menu.js';
import '@polymer/paper-listbox/paper-listbox.js';
import '@polymer/paper-item/paper-item.js';
The dropdown does not produce an error when left alone but when clicked on (will repeat on multiple clicks) it will produce it.
Uncaught ReferenceError: KeyframeEffect is not defined
at HTMLElement.configure (fade-in-animation.js:32)
at HTMLElement._configureAnimations (neon-animation-runner-behavior.js:42)
at HTMLElement.playAnimation (neon-animation-runner-behavior.js:122)
at HTMLElement._renderOpened (iron-dropdown.js:200)
at HTMLElement.__openedChanged (iron-overlay-behavior.js:608)
at HTMLElement.nextAnimationFrame (iron-overlay-behavior.js:634)
Here is the code I am trying to get working:
<paper-dropdown-menu label="Dinosaurs">
<paper-listbox slot="dropdown-content" selected="1">
<paper-item>allosaurus</paper-item>
<paper-item>brontosaurus</paper-item>
<paper-item>carcharodontosaurus</paper-item>
<paper-item>diplodocus</paper-item>
</paper-listbox>
</paper-dropdown-menu>
I have tried importing neon-animations.js, neon-animation.js and neon-animated-behavior.js. Looking at similar issues from other questions their solutions are to import web-animations into their html file but my code is in a js file so that would not work.
as a note I am not using bower or meteor.