On mobile zooming slows or accelerates panning speed
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
**mapbox-gl-js version**: 2.1.1
**browser**:
- iOS 14.4.1 Safari
- Android 9 Chrome 89.0
### Steps to Trigger Behavior
1. Open https://docs.mapbox.com/mapbox-gl-js/api/ in your mobile browser and scroll to the example map
2. zoom in or out with two fingers
2. while zooming pan up or down to move the map
### Expected Behavior
- Panning while Zoom in: the panning speed accelerates and the map is moving really fast
- Panning while Zoom out: the panning speed slows down and the map is moving really slow
### Actual Behavior
- panning speed (map moving speed) is the same like without zooming at the specific zooming level
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the gesture on the API example at https://docs.mapbox.com/mapbox-gl-js/api/ using mobile Safari and Chrome. Compare panning during pinch zoom with panning alone, and resolve the contradiction between the title, expected behavior, and actual behavior before identifying the relevant gesture-handling entry point. Done means the intended panning speed is consistent with the clarified behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100