Map occasionally slips to opposite direction when dragging
Author: heangfatCreated Sep 7, 2026Updated Sep 24, 2026
Labelsneed more info
maplibre-gl-js version: 6.3.0 to 6.6.0 (tested these versions)
browser: Firefox and Chromium-based browsers, on both Linux PCs and phones.
Steps to Trigger Behavior
- Pan the map by dragging with a mouse on a PC, or by touch-moving on a phone.
- Keep doing this several times (usually it may be more than 10 times).
Actual Behavior
Occasionally, the map will quickly slip to the opposite direction. In most cases, releasing the mouse on a PC (or the finger on a phone) will stop this opposite movement, though sometimes this continues for a few moves. I always use the globe projection, so I'm not sure whether this also happens under mercator projection.
Source: maplibre/maplibre-gl-js