software-mansion / software-mansion/react-native-screens

[Android] When stack is wrapped with SafeAreaView, then the insets are still applied to header

Open
#3,398 1 comment 2 reactions 1 assignee View on GitHub

@kligarski is already working on this.

Since Nov 14, 2025.

  • #3240 by @kligarski — merged
area:stack-v4 platform:android repro-provided type:bug
Dominant language
TypeScript
Stars
3.7k
Forks
714
Avg merge
2d 23h
Merged PRs (30d)
71

Description

Description

When ScreenStack is wrapped with SafeAreaView (either react-native-safe-area-context or the one from screens) then the top inset is still applied to header. This makes the header too tall.

Image

Related PRs:

Steps to reproduce

https://snack.expo.dev/@jtkacz/screens-android-wrong-top-inset

Snack or a link to a repository

https://snack.expo.dev/@jtkacz/screens-android-wrong-top-inset

Screens version

4.16.0 +

React Native version

0.81

Platforms

Android

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.