Skip to content

Commit

Permalink
Disable pointer-events of relevant descendants on drag and box zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
Malvoz committed Mar 14, 2021
1 parent 32ea41b commit 4745172
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dist/leaflet.css
Original file line number Diff line number Diff line change
Expand Up @@ -638,3 +638,9 @@ svg.leaflet-image-layer.leaflet-interactive path {
margin-left: -12px;
border-right-color: #fff;
}

/* Disable pointer-events of relevant descendants on drag and box zoom. */
.leaflet-crosshair *,
.leaflet-drag-target .leaflet-control {
pointer-events: none;
}

0 comments on commit 4745172

Please sign in to comment.