callstack / callstack/react-native-bottom-tabs
[iPadOS 18] `tabBarInactiveTintColor` has no effect
- 主要语言
- TypeScript
- 星标
- 1.5k
- 派生
- 109
- 平均合并
- 11 小时 44 分钟
- 30 天内合并 PR
- 8
描述
### 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).
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
```
贡献指南
调研方向
首先,在 iPadOS 18 上的示例应用的“Tint Colors”示例中重现该问题,然后检查 tabBarInactiveTintColor 如何通过 UITabBarItemAppearance 应用。根据链接的 Apple 讨论确认该行为,并验证 fix 完成后非活动项会显示配置的橙色 tint。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- ios, react-native, typescript
- 领域
- mobile
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 32/100