Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: click event listener should be removed after the componnet unmounted(MDBDropdown)

xinwang0414 free asked 1 year ago


Expected behavior Click event listener should be removed after the components unmounted(MDBDropdown) Actual behavior Click event listener not be removed after the components unmounted(MDBDropdown) Resources (screenshots, code snippets etc.)


Bartosz Cylwik staff answered 1 year ago


Hi! You mean the click event that is emitted after clicking outside of dropdown? From what I can see it isn't emitting when the component is unmounted, because the mdbClickOutside directive is removing it when unmounted.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: MDB5 3.2.0
  • Device: thinkpad
  • Browser: chrom
  • OS: windows
  • Provided sample code: No
  • Provided link: No