Popover removeEventListener error in beforeDestroy



  • Hi:
    I found that using several routes sometimes in the switching I get:

    vue.runtime.esm.js?0500:1443 TypeError: Cannot read property ‘removeEventListener’ of undefined
    at VueComponent.beforeDestroy (eval at <anonymous>

    If I change in Popover.js source in beforeDestroy() :

      if (this.anchorClick) { .... 
    

    to

      if (this.anchorClick && this.anchorEl) { ... 
    

    Everything works fine. Could you be so kind to commit this fix ?


  • Admin

    Pushed. Use the edge version until v0.13.7 or v0.14 is released.
    Many thanks for investigating and also providing the solution!