Skip to content

Layout breaks on iOS when hotspot is active  #7780

Closed as not planned
Closed as not planned

Description

@m-abs

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.0
  • Cross-platform modules: 6.1.0
  • Android Runtime:
  • iOS Runtime: 6.1.0
  • Plugin(s): nativescript-angular 8.2.0
  • Device:
    • iOS: v12.4
    • iPhone SE

Describe the bug

Sharing internet connection on iOS breaks the layouts on resume.

To Reproduce

  1. Create a new project with: tns create --ng statusbar-testy.

  2. Run the app on an iOS hardware device.
    UNADJUSTEDNONRAW_thumb_2

  3. Share the internet connection with another device.

  4. The status-bar should now be taller.

UNADJUSTEDNONRAW_thumb_3

  1. Go to the desktop or another app.
  2. Go back to the app. The layout is now broken (notice the list items).
    UNADJUSTEDNONRAW_thumb_4
  3. Rotate the phone to portrait and back again, to restore the layout

Expected behavior
The layout to not break on the resume.

Sample project

Just create a new project with tns create --ng statusbar-testy

Additional context

Might be related to: #4283

I noticed safeAreaInsets report top is 20.
But the height of the statusBarFrame is 40 when the connection is shared.

nsApp.ios.statusBarFrame.size.height === 40;

Activity

  1. NathanWalker commented on Oct 23, 2026

    @NathanWalker
    Contributor

    Closing as obsolete: this came from iOS's double-height status bar (hotspot, call or location-in-use banner), which modern iOS versions replaced with a status-bar indicator that doesn't change the layout height. If a status-bar banner still distorts the layout on a current iOS version, please open a new issue with the device and iOS version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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