Skip to content

[BottomNav][iOS] Styling is completely messed up on device rotation #7864

@PeterStaev

Description

@PeterStaev

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 6.1
  • Cross-platform modules: 6.1
  • Android Runtime: 6.1
  • iOS Runtime: 6.1
  • Plugin(s):

Describe the bug
When you rotate from portrait to landscape mode the styling of tabs/selection is completely messed up. In the example below the second tab becomes unstyled when the rectangles that were previously styling the tabs are moved and split the first tab:
Screenshot 2019-09-25 at 0 42 29

To Reproduce
https://play.nativescript.org/?template=play-tsc&id=ug5VWz
rotate device to landscape, tested on iPhoneX

Expected behavior
Styling to be applied correctly on device rotation.

Additional context
Related to #6967

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions