mapbox / mapbox/mapbox-gl-js

Marker shaking easeTo / flyTo - Firefox/Edge

Open
#8,614 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug :lady_beetle: environment-specific :desktop_computer:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

**mapbox-gl-js version**: v1.2.0

**browser**: Firefox 68.0.1 (64bit)

### Steps to Trigger Behavior

1. Add custom marker to map
2. On `load` slowly `easeTo`
3. Open in Firefox

### Link to Demonstration

https://jsbin.com/xubonoyaqu/edit?output

### Expected Behavior

Same behavior as in Chrome, almost no shaking of the marker:

![marker_jitter_chrome](https://user-images.githubusercontent.com/20856381/62797898-33bbdf80-badd-11e9-9706-fa2c98db3a1b.gif)

### Actual Behavior

The marker is shaking a lot:

![marker_jitter_firefox](https://user-images.githubusercontent.com/20856381/62797920-4504ec00-badd-11e9-9043-0a8fe7fd9898.gif)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked JSBin demonstration and reproduce the custom-marker behavior by triggering a slow easeTo on load in Firefox and Edge, then compare it with Chrome. Trace the marker behavior during easeTo and flyTo to identify the browser-specific source of the shaking. Done means the marker remains nearly as stable in Firefox and Edge as it is in Chrome.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.