There is no way to allow user gestures to override animations that occur on every frame.
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**: 3.2.0
**browser**: any
### Steps to Trigger Behavior
1. Use `jumpTo` on every frame while not interacting
2. Attempt to listen to "movestart" events to stop animation
3. It won't fire
### Link to Demonstration
https://jsbin.com/reyakaravi/edit?js,console,output
### Expected Behavior
Moving works and console logs show up
### Actual Behavior
Nothing happens
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 with the linked JSBin demonstration and reproduce the behavior using jumpTo on every frame while observing movestart events. Trace the map movement and event behavior involved, then verify that user gestures can override the repeated animation and that the expected events appear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100