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

Cannot bring overlapped popups opened with Map#addLayer on top #3813

Closed
dijam opened this issue Sep 7, 2015 · 3 comments
Closed

Cannot bring overlapped popups opened with Map#addLayer on top #3813

dijam opened this issue Sep 7, 2015 · 3 comments
Assignees
Labels

Comments

@dijam
Copy link

dijam commented Sep 7, 2015

When you have multiple popups opened with Map#addLayer and some of them overlapped with others, it is not possible to bring the one behind others front.
So we have part of popup A on top of popup B. It would be good when you click on B, it comes froward and popup A goes behind it.
Any thought?

@IvanSanchez
Copy link
Member

Can you please link to an example where this is reproducible? jsfiddle, codepen, or the like?

@dijam
Copy link
Author

dijam commented Sep 14, 2015

Take a look at this: https://jsfiddle.net/u4xzasuu/
I think it would be good if we could bring the first popup in front of the other one by clicking on it.

@mourner
Copy link
Member

mourner commented Oct 7, 2015

We should probably add something like popup.bringToFront (similar to other layers) to address this.

@mourner mourner added this to the future milestone Oct 7, 2015
danzel added a commit to danzel/Leaflet that referenced this issue Oct 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants