mapbox-maps-ios icon indicating copy to clipboard operation
mapbox-maps-ios copied to clipboard

Delayed touch input / rubber banding on fast input changes.

Open NERO2k opened this issue 3 years ago • 0 comments

Environment

  • Xcode version: 14.0 / 13.4.1
  • iOS version: 16.0 / 15.6.1
  • Devices affected: iPhone 13 Pro Max / IPhone XS Max
  • Maps SDK Version: 10.7.0

Observed behavior and steps to reproduce

When making fast touch inputs and halting ongoing movement the app seems to exhibit some form of delay/rubber banding. The videos were recoded on the debug app provided in this repo. Had to record videos of the device itself to show the effect easier so it might be harder to see clearly. This issue does not appear in the emulator due to not being able to preform swipes.

https://user-images.githubusercontent.com/17887697/185925860-00696d0d-f1e6-4eb6-8fc7-e2fd22bc9ac7.mov

Expected behavior

The inputs should not be delayed when halting motion / rubber banding, other than the fact that this is seemingly unwanted behavior this does not happen in the android variant on mapbox-maps.

https://user-images.githubusercontent.com/17887697/185925298-5851f4ef-cb92-443e-8ba0-f08381b1c9b6.mov

Notes / preliminary analysis

Personally im not a very experienced Swift / Objective-C developer so i cannot make any guesses on what this could be caused by. Im using both maps-ios and maps-android through React Native where the same issue appears.

Alternative iPhone / IOS variant listed in the environment details is split by /. Same issue is happening with that configuration.

Thanks in advance for any guidance / help i can get with this issue <3

NERO2k avatar Aug 22 '22 13:08 NERO2k