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

Removing control does not remove listeners #57

Open
perliedman opened this issue Sep 13, 2016 · 0 comments · May be fixed by #100
Open

Removing control does not remove listeners #57

perliedman opened this issue Sep 13, 2016 · 0 comments · May be fixed by #100

Comments

@perliedman
Copy link
Member

When the control is added to a map, it adds a listener to fullscreenchange. When the control is removed, this listener is not removed and when the event fires, the listener throws since this._map is null.

Istador added a commit to Istador/Leaflet.fullscreen that referenced this issue Nov 20, 2019
@Istador Istador linked a pull request Nov 20, 2019 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant