No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Popover removeEventListener error in beforeDestroy

    Framework
    2
    2
    1124
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jesus last edited by jesus

      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 ?

      1 Reply Last reply Reply Quote 0
      • rstoenescu
        rstoenescu Admin last edited by

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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post