PolymerElements / paper-ripple

Adds a Material Design ripple effect to UI elements
https://webcomponents.org/element/PolymerElements/paper-ripple
56 stars 27 forks source link

Uncaught TypeError: Cannot read property 'waves' of undefined #105

Open jpicus opened 6 years ago

jpicus commented 6 years ago

If the pressed button makes a refresh of DOM content (and thus "destroy" the concerned button), the method addRipple of paper-ripple raise an exception.

Solution seems as simple as put a try / catch

Paper-ripple version : 2.0.1

Regards