Topic: click event listener should be removed after the componnet unmounted(MDBDropdown)
                  
                  xinwang0414
                  free
                  asked 2 years 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 2 years 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.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- 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