Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Panning animation does not cancel upon tap. (iOS) #1258

Closed
mb12 opened this issue Apr 12, 2015 · 2 comments · Fixed by #1296
Closed

Panning animation does not cancel upon tap. (iOS) #1258

mb12 opened this issue Apr 12, 2015 · 2 comments · Fixed by #1296
Labels
bug iOS Mapbox Maps SDK for iOS

Comments

@mb12
Copy link

mb12 commented Apr 12, 2015

Steps to reproduce

  1. Flick to pan the map fast
  2. Tap to stop the panning

Panning animation continues instead of stopping upon tap.

@incanus
Copy link
Contributor

incanus commented Apr 13, 2015

This used to work — might be related to 12c07b9.

@1ec5
Copy link
Contributor

1ec5 commented Apr 19, 2015

I don’t see anything in 12c07b9 that would’ve regressed this detail. In fact, I don’t see how any of the existing gesture recognizers would be able to stop the drift-pan animation on touch down. It looks like we’ll need to stop the animation within -touchesBegan:withEvent:.

1ec5 added a commit that referenced this issue Apr 19, 2015
Cancel any map animations as soon as a finger is set upon the screen.

Fixes #1258.
This was referenced Apr 19, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants