react-navigation / react-navigation/react-navigation.github.io

Documentation of StatusBar doesn't mention backgroundColor not supported on iOS

Open
#386 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
324
Forks
2k
PR merge metrics
No merged PRs in 30d

Description

The code examples in Different Status Bar configuration based on the route set the backgroundColor and don't have any platform-specific references. And the example GIFS show the background color changing on an iOS device with a notch. But according to react-native docs background color doesn't work on iOS (and it didn't when I tried the given example code).

But how were those GIFS generated? There must be a way to do it. At the bottom of the page it says:

The code used for these demos is available as a Snack.

But the snack at that link is obviously not the same code that generated the GIF.

Please correct that link so we can see the actual code that was used to change the background color on iOS.

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

Open the Status Bar documentation page and compare its route-based configuration examples and GIFs with the linked Snack. Determine which Snack corresponds to the demonstrated iOS behavior, then correct the link and ensure the documentation accurately reflects the platform limitation. Done means the linked example matches the demonstration and the iOS behavior is not misleading.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.