Skip to content

[ui][iOS] - Add ignoreSafeArea to Host#42598

Merged
intergalacticspacehighway merged 2 commits intomainfrom
fix/42576
Jan 28, 2026
Merged

[ui][iOS] - Add ignoreSafeArea to Host#42598
intergalacticspacehighway merged 2 commits intomainfrom
fix/42576

Conversation

@intergalacticspacehighway
Copy link
Copy Markdown
Contributor

@intergalacticspacehighway intergalacticspacehighway commented Jan 27, 2026

Why

Host adds safe area insets to SwiftUI views causing such issues - #42576. We had added ignoreSafeAreaKeyboardInsets for similar reasons but it was handling only keyboard insets.

How

Adds ignoreSafeArea prop to Host which can be used to ignore all insets as well as keyboard insets.

Test Plan

Tested the repro shared in the reported issue. It gets fixed on passing ignoreSafeArea prop to Host

Simulator.Screen.Recording.-.iPhone.17.Pro.-.2026-01-27.at.20.30.36.mov

Checklist

@intergalacticspacehighway intergalacticspacehighway marked this pull request as ready for review January 27, 2026 15:03
@github-actions
Copy link
Copy Markdown
Contributor

Subscribed to pull request

File Patterns Mentions
docs/** @amandeepmittal
packages/expo-modules-core/** @Kudo, @lukmccall, @tsapeta
packages/expo-ui/** @aleqsio, @behenate, @douglowder

Generated by CodeMention

@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Jan 27, 2026
@expo-bot
Copy link
Copy Markdown
Collaborator

expo-bot commented Jan 27, 2026

The Pull Request introduced fingerprint changes against the base commit: 0290a40

Fingerprint diff
[
  {
    "op": "changed",
    "beforeSource": {
      "type": "dir",
      "filePath": "../../packages/expo-modules-core",
      "reasons": [
        "expoAutolinkingIos",
        "expoAutolinkingAndroid",
        "expoAutolinkingIos"
      ],
      "hash": "fbbf7c6e91ed5a87c73de16090b85d61039c4799"
    },
    "afterSource": {
      "type": "dir",
      "filePath": "../../packages/expo-modules-core",
      "reasons": [
        "expoAutolinkingIos",
        "expoAutolinkingAndroid",
        "expoAutolinkingIos"
      ],
      "hash": "a53a1deea4514e9a621a43f3e719f5e68eb2423f"
    }
  },
  {
    "op": "changed",
    "beforeSource": {
      "type": "dir",
      "filePath": "../../packages/expo-ui/ios",
      "reasons": [
        "expoAutolinkingIos"
      ],
      "hash": "0fe66c85a47c5c953b636b68171c486f28f234d9"
    },
    "afterSource": {
      "type": "dir",
      "filePath": "../../packages/expo-ui/ios",
      "reasons": [
        "expoAutolinkingIos"
      ],
      "hash": "f9dd811426a681361f1c5dbce184f8dac6f677b5"
    }
  }
]

Generated by PR labeler 🤖

@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Jan 27, 2026
@intergalacticspacehighway intergalacticspacehighway merged commit 1127ffe into main Jan 28, 2026
32 of 35 checks passed
@intergalacticspacehighway intergalacticspacehighway deleted the fix/42576 branch January 28, 2026 01:45
@brentvatne brentvatne added the published Changes from the PR have been published to npm label Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot: fingerprint changed bot: passed checks ExpoBot has nothing to complain about published Changes from the PR have been published to npm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants