callstack / callstack/react-native-bottom-tabs

[Xcode 26] Theme is not applied when system is dark mode

Offen
#411 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Apple bug
Vorherrschende Sprache
TypeScript
Sterne
1.5k
Forks
109
Ø Merge
11 Std. 44 Min.
Gemergte PRs (30 T.)
8

Beschreibung

### Before submitting a new issue

- [x] I tested using the latest version of the library, as the bug might be already fixed.
- [x] I tested using a [supported version](https://github.com/reactwg/react-native-releases/blob/main/docs/support.md) of react native.
- [x] I checked for possible duplicate issues, with possible answers.

### Bug summary

Maybe related to: https://github.com/software-mansion/react-native-screens/issues/3162

On iOS, if we have DefaultTheme we can see that bottom bar is not applying the light theme but system theme instead

On this we can see that BottomBar style is updated with no reason :

https://github.com/user-attachments/assets/27375e07-425c-4866-acdb-8a4d301403fd

### Library version

0.10.1

### Environment info

```shell
Expo 53
RN 0.79
```

### Steps to reproduce

- Xcode 26 & iOS 26 (with dark theme on system)
- Launch app from the repo
- Open profile
- See that the bottom bar does not have the right theme

### Reproducible sample code

```js
https://github.com/huextrat/repro-screens-ios
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne mit dem verlinkten reproduzierbaren Beispiel und führe die aufgeführten Schritte unter Xcode 26 und iOS 26 aus, wobei sich das System im Dunkelmodus befindet. Untersuche, warum sich der BottomBar-Stil ändert, obwohl DefaultTheme erwartet wird; als erledigt gilt die Aufgabe, wenn die untere Leiste beim Start der App vom Profilbildschirm aus das korrekte helle Theme beibehält.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
ios, react-native, typescript
Bereich
mobile
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.