motss / app-datepicker

Datepicker element built with Google's lit and Material Design 2021
https://npm.im/app-datepicker
MIT License
180 stars 51 forks source link

Error generated by missing of paper-button on the bower_components #106

Closed stefounie95 closed 6 years ago

stefounie95 commented 7 years ago

Error generated by missing of paper-button on the bower_components

Error message

app-datepicker.html:1672 Uncaught TypeError: _node.updateStyles is not a function
    at HTMLElement._updateDistributedButtonInkColorCustomProp (app-datepicker.html:1672)
    at HTMLElement.attached (app-datepicker.html:964)
    at HTMLElement.attached (class.html:222)
    at HTMLElement.connectedCallback (legacy-element-mixin.html:96)
    at HTMLElement._attachDom (element-mixin.html:672)
    at HTMLElement._readyClients (element-mixin.html:646)
    at HTMLElement._flushClients (property-effects.html:1497)
    at HTMLElement._propertiesChanged (property-effects.html:1623)
    at HTMLElement._flushProperties (property-accessors.html:546)
    at HTMLElement.ready (property-effects.html:1585)

How to reproduce

Try to use the component without having paper-button on yout bower_components

How to fix

add paper-button on the bower.json "paper-button": "PolymerElements/paper-button"

(web-animation can be added too to have animations)