You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is never removed. It leads to memory leak.
Also I think you should not use a directive here. Because you cannot retain a reference to the closure calcHeight() in the directive, so you won't be able to remove the listener afterwards.
The text was updated successfully, but these errors were encountered:
The "resize" listener added on window here:
vue-dropdown/dropdown.vue
Line 96 in 03ba575
is never removed. It leads to memory leak.
Also I think you should not use a directive here. Because you cannot retain a reference to the closure calcHeight() in the directive, so you won't be able to remove the listener afterwards.
The text was updated successfully, but these errors were encountered: