#10376·Leaflet

Position jumping on delayed follow-up map panning while map is still interia-panning.

Author: zdilaCreated Sep 13, 2026Updated Sep 15, 2026
Labelsbugneeds triage

Checklist

  • I've looked at the documentation to make sure the behavior isn't documented and expected.
  • I'm sure this is an issue with Leaflet, not with my app or other dependencies (Angular, Cordova, React, etc.).
  • I've searched through the current issues to make sure this hasn't been reported yet.
  • I agree to follow the Code of Conduct that this project adheres to.

Steps to reproduce

  1. go to https://leafletjs.com/examples/quick-start/
  2. pan the map so that interia would keep it panning after you release the mouse button
  3. while it is still interia-panning press the mouse button on a place in the map, but don't release it and don't move the mouse
  4. wait for iteria-panning to stop
  5. move the mouse (still with holding the button down)

Expected behavior

Current place on the map under the cursor would follow the mouse pointer.

Alternatively it should immediately stop the interia-panning when mouse button is pressed. This is how MapLibre works and seems to be more natural for me.

Current behavior

Map jumps to the place where mouse button was pressed (and there it starts to follow the mouse).

Minimal example reproducing the issue

No response

Environment

  • Leaflet version: 1.9.4
  • Browser (with version): any
  • OS/Platform (with version): any