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

[Bug][MdSelect] "resize" and "scroll" events are not removed from window after opening select dropdown #2311

Open
miroslavkrnac opened this issue Feb 19, 2021 · 0 comments

Comments

@miroslavkrnac
Copy link

miroslavkrnac commented Feb 19, 2021

Steps to reproduce

Open and close select dropdown and see attached window event listeners. Resize and scroll are not cleared.
Try it few times, events are accumulating.

Which browser?

Tested on Chrome and Firefox

What is expected?

Events are removed after closing dropdown.

What is actually happening?

Resize and scroll events are not removed and persists in memory. Causing memory leak. Probably caused by Popper.js
image

Reproduction Link

You can test it on: https://vuematerial.io/components/select

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant