Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simultaneous map zoom and drag throws TypeError #6106

Closed
dm261395 opened this issue Feb 7, 2018 · 1 comment
Closed

Simultaneous map zoom and drag throws TypeError #6106

dm261395 opened this issue Feb 7, 2018 · 1 comment

Comments

@dm261395
Copy link

dm261395 commented Feb 7, 2018

mapbox-gl-js version:
v0.44.0

Steps to Trigger Behavior

  1. On the Mapbox GL JS simple map example at https://www.mapbox.com/mapbox-gl-js/example/simple-map/, start zooming in or out on the map via the mouse wheel scroll.
  2. Before finishing zooming, click and drag the map in some direction.
  3. Type error is thrown (Chrome console output):

Uncaught TypeError: Cannot read property 'x' of undefined

GIF demonstration:
bug

I am on macOS High Sierra Version 10.13.3. I have encountered this error on Chrome Version 64.0.3282.140, Firefox Quantum v58.0 and Safari Version 11.0.3 since the mapbox-gl upgrade v0.44.0.

@mourner
Copy link
Member

mourner commented Feb 9, 2018

Fixed in #6113

@mourner mourner closed this as completed Feb 9, 2018
anandthakker added a commit that referenced this issue Feb 9, 2018
pathmapper pushed a commit to pathmapper/mapbox-gl-js that referenced this issue Feb 13, 2018
pathmapper pushed a commit to pathmapper/mapbox-gl-js that referenced this issue Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants