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

[iOS] React Navigation | Native Bottom Tabs | Scroll view blank area issue during rendering

Open
#3,598 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

platform:ios repro-provided
Dominant language
TypeScript
Stars
3.7k
Forks
714
Avg merge
2d 23h
Merged PRs (30d)
71

Description

Description

When I try to use React Navigation's new native bottom tabs on iOS, an empty area appears above the scroll view. However, when I scroll, this empty area disappears. It does not remain there permanently.

When using it on Android or with the custom implementation option, this issue does not occur.
React Navigation maintainers asked me to open an issue here because this problem was caused by react-native-screens. https://github.com/react-navigation/react-navigation/issues/12946

https://github.com/user-attachments/assets/b0896b6b-d921-4362-8782-70afa5727650

Steps to reproduce
  1. Create a React Native CLI application
  2. Install react navigation 8 and react navigation native bottom tabs
  3. Create a Native bottom tab navigator
  4. Add a screen with a scroll view as its main container to the bottom tab navigator
Snack or a link to a repository

https://github.com/cetfu/ReactNavigationReproducerScrollView/

Screens version

4.20.0

React Native version

0.83.1

Platforms

iOS

JavaScript runtime

Hermes

Workflow

React Native (without Expo)

Architecture

Fabric (New Architecture)

Build type

Debug mode

Device

iOS simulator

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.

Research direction

Start by running the linked ReactNavigationReproducerScrollView repository with React Native 0.83.1, react-native-screens 4.20.0, Fabric, and the native bottom tab navigator on an iOS simulator. Reproduce the blank area above the ScrollView, then verify that the area no longer appears during rendering while preserving the Android and custom implementation behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, react-native, typescript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.