Skip to content

Drawing example very jittery in Firefox  #4271

Description

@jaapster

Drawing and updating a polygon in Firefox using the mapbox-gl-draw example code is very jittery at larger map sizes.

Platform: macOS Sierra on a MacBook Pro mid 2015

Mapbox SDK version: 0.32.1

Steps to trigger behavior

  1. Create an HTML file containing the code of the mapbox-gl-draw example
  2. Open this file in Firefox and set browser size to 1700 x 1000 pixels
  3. Draw a polygon
  4. Update the polygon by dragging one of it's coordinates

Expected behavior

A smooth drawing experience

Actual behavior

The polygon is not changing smoothly. The change is (very) jittery. It feels like the rendered polygon is jumping back and forth between the current state and previous states.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions