react-navigation / react-navigation/react-navigation.github.io
Documentation of StatusBar doesn't mention backgroundColor not supported on iOS
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 324
- Forks
- 2k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Öffne die Dokumentationsseite zur Status Bar und vergleiche deren routenbasierte Konfigurationsbeispiele und GIFs mit dem verknüpften Snack. Bestimme, welcher Snack dem demonstrierten iOS-Verhalten entspricht, korrigiere dann den Link und stelle sicher, dass die Dokumentation die Plattformbeschränkung korrekt widerspiegelt. Erledigt ist die Aufgabe, wenn das verknüpfte Beispiel mit der Demonstration übereinstimmt und das iOS-Verhalten nicht irreführend ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- react-native
- Bereich
- documentation
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100