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

Popup close button issue #8688

Closed
steros76 opened this issue Nov 27, 2022 · 2 comments
Closed

Popup close button issue #8688

steros76 opened this issue Nov 27, 2022 · 2 comments

Comments

@steros76
Copy link

When I close popup with "x" close button, I experience strange issues in my page outside the map (i.e. click events programmed on buttons don't work anymore). If I close the popup clicking elsewhere there is no problem.
I notice that this strange behaviour is due to
closeButton.href = '#close';
Commenting this line all works correctly.
Why this line is present?

@Falke-Design
Copy link
Member

Which Leaflet version do you use? This is already fixed in newer versions please use v1.9.3 #8159

@Falke-Design Falke-Design closed this as not planned Won't fix, can't repro, duplicate, stale Nov 27, 2022
@steros76
Copy link
Author

Sorry. I wasn't on last version.
I updated and I can confirm that it works.
Thanks.

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

No branches or pull requests

2 participants