Fixed Android 3 zoom control issue, closed #335

This commit is contained in:
mourner 2012-02-21 15:33:10 +02:00
parent e6af79d005
commit 1c579dbeac
2 changed files with 6 additions and 2 deletions

View File

@ -52,6 +52,7 @@ An in-progress version being developed on the master branch.
* Fixed a bug with false map click events on pinch-zoom and zoom/layers controls click. [#485](https://github.com/CloudMade/Leaflet/issues/485)
* Fixed a bug where touching the map with two or more fingers simultaneously would raise an error.
* Fixed a bug where zoom control wasn't always visible on Android 3. [#335](https://github.com/CloudMade/Leaflet/issues/335)
* Fixed inability to use scrolled content inside popup due to mouse wheel propagation.
* Fixed a bug where popup close button wouldn't work on manually added popups. [#423](https://github.com/CloudMade/Leaflet/issues/423)
* Fixed a bug where popup size was calculated incorrectly in IE.

7
dist/leaflet.css vendored
View File

@ -17,7 +17,11 @@
.leaflet-container {
overflow: hidden;
}
.leaflet-tile-pane, .leaflet-container {
.leaflet-tile-pane,
.leaflet-container,
.leaflet-control-container,
.leaflet-popup {
/* TODO make this configurable */
-webkit-transform: translate3d(0,0,0);
}
.leaflet-tile,
@ -247,7 +251,6 @@ a.leaflet-active {
.leaflet-popup {
position: absolute;
text-align: center;
-webkit-transform: translate3d(0,0,0);
}
.leaflet-popup-content-wrapper {
padding: 1px;