mapbox / mapbox/mapbox-gl-directions

Debounce `fetchDirections` to prevent firing handlers while dragging markers

Open
#127 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
255
Forks
130
PR merge metrics
No merged PRs in 30d

Description

![dragging-issue](https://cloud.githubusercontent.com/assets/1128068/25337215/41d56260-28fb-11e7-9425-8f9b3452aee5.gif)

This behaviour is still there, don't know if it's still the same underlying cause as #36

Contributor guide

Open the contributing guide

Research direction

Start by tracing the fetchDirections entry point and reproduce the marker-dragging behavior shown in the attached GIF. Review issue #36 for the suspected underlying cause and determine how handler firing should be delayed during dragging. Done means dragging markers no longer fires the affected handlers prematurely.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.