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

layoutSubviews() is called too often on iOS 14.0. #2658

Closed
MaximAlien opened this issue Sep 28, 2020 · 0 comments · Fixed by #2659
Closed

layoutSubviews() is called too often on iOS 14.0. #2658

MaximAlien opened this issue Sep 28, 2020 · 0 comments · Fixed by #2659
Assignees
Labels
bug Something isn’t working UI Work related to visual components, Android Auto, Camera, 3D, voice, etc.
Milestone

Comments

@MaximAlien
Copy link
Contributor

MaximAlien commented Sep 28, 2020

Mapbox Navigation SDK version: v1.0.0-rc.5

On iOS 14.0 NavigationMapView.layoutSubviews() is called too often, this leads to animated updates of UserCourseView. E.g. iOS 13.5 NavigationMapView.layoutSubviews() was called only once during basic navigation session, whereas on iOS 14.0 19 (!) times within 1 second. Because of this there is a lag in animated UserCourseView update. For example:

output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn’t working UI Work related to visual components, Android Auto, Camera, 3D, voice, etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant