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

Content insets are being reverted to 0 #12053

@clydebarrow

Description

@clydebarrow

Platform: iOS
Mapbox SDK version: 4.0.2

Steps to trigger behavior

  1. Set content inset on a mapview
  2. hide the mapview by pushing another UIViewcontroller over it
  3. pop the pushed view controller

Expected behavior

Content insets should be the same as before

Actual behavior

Content insets are reverted to 0, and further attempts to set the content insets are ineffective.

The gif shows the original inset offsetting the map center downwards, after showing and removing another view controller, the map has been displaced upwards. Any resetting of the insets from this point on is ineffective.

insets

Metadata

Metadata

Assignees

No one assigned

    Labels

    archivedArchived because of inactivitybugiOSMapbox Maps SDK for iOS

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions