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

ViewportStatusChangeReason unexpected value after TRANSITION_FAILED

Open iolandarosavoid opened this issue 1 year ago • 1 comments

Environment

  • Android OS version: 14
  • Devices affected: Samsung Galaxy A53 5G
  • Maps SDK Version: 11.8.0

Observed behavior and steps to reproduce

  • I am reviewing the values for ViewportStatusChangeReason in cameraChangedEvents. When performing the flyTo animation on the mapView:

  • If the flyTo animation completes without any user interactions that cancel it, the status updates from TRANSITION_STARTED to TRANSITION_SUCCEEDED. When I manually move the map afterward, it correctly displays the USER_INTERACTION event. -However, if the flyTo animation is interrupted by user interactions that cancel it, the status updates from TRANSITION_STARTED to TRANSITION_FAILED. When I then move the map manually, it continues displaying this status and never updates back to the USER_INTERACTION event. This behavior seems like a bug to me.

Expected behavior

  • If the flyTo animation is interrupted by user interactions that cancel it, the status updates from TRANSITION_STARTED to TRANSITION_SUCCEEDED. When I manually move the map afterward, it correctly displays the USER_INTERACTION event.

iolandarosavoid avatar Nov 18 '24 15:11 iolandarosavoid

Any news related to this? I am in version 11.9.1 of mapbox and this bug is still happening

iolandarosavoid avatar Jan 27 '25 09:01 iolandarosavoid