Use pointer-events: visiblePainted as fallback for IE <11 (#4690)

This commit is contained in:
Per Liedman 2016-07-01 11:14:13 +02:00 committed by Yohan Boniface
parent 7add9d4c74
commit 2652b63f42

2
dist/leaflet.css vendored
View File

@ -105,6 +105,7 @@
.leaflet-control { .leaflet-control {
position: relative; position: relative;
z-index: 800; z-index: 800;
pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
pointer-events: auto; pointer-events: auto;
} }
.leaflet-top, .leaflet-top,
@ -225,6 +226,7 @@
.leaflet-marker-icon.leaflet-interactive, .leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive, .leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive { .leaflet-pane > svg path.leaflet-interactive {
pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
pointer-events: auto; pointer-events: auto;
} }