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

fix: memory leak when positioning with popper #1094

Merged
merged 2 commits into from
Mar 10, 2020

Conversation

Hagith
Copy link
Contributor

@Hagith Hagith commented Mar 9, 2020

Currently there is no option to destroy popper instance created
when dropdown is opened. This change allows the consumer to return
function from calculatePosition which will be called in unbind.

Currently there is no option to destroy popper instance created
when dropdown is opened. This change allows the consumer to return
function from `calculatePosition` which will be called in `unbind`.
@Hagith Hagith force-pushed the calculate-position-memory-leak branch from 9fb002e to 549894d Compare March 9, 2020 23:07
@sagalbot
Copy link
Owner

Amazing, thank you!

@sagalbot sagalbot merged commit f247943 into sagalbot:master Mar 10, 2020
@github-actions
Copy link

🎉 This PR is included in version 3.7.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@Hagith Hagith deleted the calculate-position-memory-leak branch March 10, 2020 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants