Skip to content

Panning problems with iframed map in Chrome and Safari #1277

@callumlocke

Description

@callumlocke

Demo here: http://interactivegraphics.ft-static.com/maps/abandoned-tube-stations/bug-demo/wrap.html

This is a very simple Leaflet map inside an iframe. Open it in Chrome or Safari, pan the map with the mouse, and release the mouse button outside the iframe. The map continues to pan as you move your mouse, even though you are no longer dragging.

This appears to have been reported and fixed before (#166), but it seems the problem has returned. My demo uses the latest stable Leaflet, 0.4.5. It has no other libraries or anything else that could conflict with it.

Tested and confirmed bug in Chrome 23 and 26, and Safari 6 (on OS X Mountain Lion).

Also tested in Firefox 17 and Opera 12 – bug does not occur in these browsers.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions