callstack / callstack/react-native-bottom-tabs

[iPadOS 18] `tabBarInactiveTintColor` has no effect

Ouverte
#419 1 commentaire 1 réaction 0 personnes assignées Voir sur GitHub
bug
Langage dominant
TypeScript
Étoiles
1.5k
Forks
109
Merge moyen
11 h 44 min
PR mergées (30 j)
8

Description

### 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

When testing the "Tint Colors" example in the example app on iPadOS 18, the property `tabBarInactiveTintColor` has no effect on the inactive items. The inactive items should be orange but they are either black or soft grey (depending on colorscheme).

Image

Is it possible to set the tintcolor of inactive items on iPadOS 18? Seems like the regular `UITabBarItemAppearance` has limited effect on iPadOS 18 https://developer.apple.com/forums/thread/761056#798245022

### Library version

0.11.1

### Environment info

```shell
System:
OS: macOS 15.6.1
CPU: (10) arm64 Apple M1 Pro
Memory: 569.44 MB / 32.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 23.11.0
path: /opt/homebrew/bin/node
Yarn:
version: 4.6.0
path: /opt/homebrew/bin/yarn
npm:
version: 10.9.2
path: /opt/homebrew/bin/npm
Watchman:
version: 2025.04.14.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.5
- iOS 18.5
- macOS 15.5
- tvOS 18.5
- visionOS 2.5
- watchOS 11.5
Android SDK:
API Levels:
- "28"
- "30"
- "34"
- "35"
- "36"
Build Tools:
- 28.0.3
- 29.0.2
- 29.0.3
- 30.0.2
- 30.0.3
- 31.0.0
- 32.0.0
- 33.0.0
- 33.0.0
- 33.0.1
- 34.0.0
- 34.0.0
- 35.0.0
- 36.0.0
System Images:
- android-22 | Google APIs ARM 64 v8a
- android-23 | Google APIs ARM 64 v8a
- android-25 | Google APIs ARM 64 v8a
- android-28 | Google ARM64-V8a Play ARM 64 v8a
- android-35 | Google APIs ARM 64 v8a
- android-36 | Google Play ARM 64 v8a
- android-VanillaIceCream | Google Play ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2024.3 AI-243.24978.46.2431.13363775
Xcode:
version: 16.4/16F6
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.15
path: /Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home/bin/javac
Ruby:
version: 3.4.3
path: /opt/homebrew/opt/ruby/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react: Not Found
react-native:
installed: 0.77.1
wanted: ^0.77.0
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: false
newArchEnabled: true
iOS:
hermesEnabled: false
newArchEnabled: false
```

### Steps to reproduce

1. Run example app on iPadOS 18
2. Open "Tint Colors"

### Reproducible sample code

```js
See steps to reproduce
```

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par reproduire le problème dans l’exemple « Tint Colors » de l’application d’exemple sur iPadOS 18, puis examinez la manière dont tabBarInactiveTintColor est appliqué via UITabBarItemAppearance. Confirmez le comportement à l’aide de la discussion Apple liée et vérifiez que les éléments inactifs affichent la teinte orange configurée une fois le fix terminé.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
ios, react-native, typescript
Domaine
mobile
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
32/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.