Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Destroy method does not properly remove the event listeners #298

Closed
OS-giulianasilva opened this issue Jan 11, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@OS-giulianasilva
Copy link
Contributor

Hi!

This is to report a bug.

When destroying an instance of the virtual select, the event listeners associated with it are nor properly removed. This is causing the accumulation of multiple event listeners when navigating from one page to another .

Example:

  • When the page is first loaded: image

  • After navigating to another page and going back to the previous page: image

  • When changing from one page to another, the number of event listeners keeps increasing.

@gnbm
Copy link
Collaborator

gnbm commented Mar 12, 2024

Fixed in v1.0.42

@gnbm gnbm closed this as completed Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants