-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
[webkit] corner div interferes with Markers #575
Comments
Seem to be related to issue #383. If I hardcode webkit3d to false it is fixed. |
Sorry for a late response, could clarify what WebKit browsers/versions are affected? Is it Blackberry-only or some Chrome/Safari versions are affected too? |
I've run into it recently with Chromium v19 on Linux. As hack-fix I disabled the
It not a real solution, but may be it helps to locate the problem. |
The hackfix dosen't work anymore - it brakes the polylines. For debugging one might start looking before 02c3e9b. |
@danzel I guess the layers animation code needs more any3d checks to make |
Yep, have sent a pull to fix this. New hack will be: L.Browser.webkit3d = L.Browser.any3d = false; |
The hackfix doesn't work for me. I spend some time investigating it. As it seems z-index becomes/should become irrelevant if -webkit-transform is set. I know its not as elegant as the current solution where the Browser does the repositioning and stacking of controls by itself, but I've no better idea. |
Yeah, the hack-fix stops positioning markers/paths with -webkit-transform, which makes them work. Will take another look at it later today to see if/why it isn't. |
Rebased, redid and repushed the fix. Now you add: <script>L_DISABLE_3D = true;</script>Before including leaflet to disable 3d properly. I've tested this on debug/vector/vector-simple.html and debug/map/image-overlay.html |
Have sent a PR that fixes this without needing to disable 3d :-) |
Thanks a lot! Works well. |
The corner div overlaps Markers and catches their click events. (in Chromium 17 - Firefox 10 is fine)
Test case:
Use for example http://leaflet.cloudmade.com/index.html and move the map so that the Marker appears between the left edge and the zoombox. Now the Markers Popup won't open.
Chromium seems to have a bug in the z-index handling, maybe it has something to do with -webkit-transform.
In case of the zoombox this bug is not nice but doesn't hurt that much.
But if you put a bigger control on top of the attributionControl things get nasty.
The text was updated successfully, but these errors were encountered: