callstack / callstack/react-native-bottom-tabs

[iPadOS 18] `tabBarInactiveTintColor` has no effect

Đang mở
#419 1 bình luận 1 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
TypeScript
Star
1.5k
Fork
109
Merge trung bình
11 giờ 44 phút
Pull request đã merge (30 ngày)
8

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện vấn đề trong ví dụ "Tint Colors" của app mẫu trên iPadOS 18, sau đó kiểm tra cách tabBarInactiveTintColor được áp dụng thông qua UITabBarItemAppearance. Xác nhận hành vi này dựa trên thảo luận Apple được liên kết và xác minh rằng các mục không hoạt động hiển thị tint màu cam đã cấu hình khi fix hoàn tất.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
ios, react-native, typescript
Lĩnh vực
mobile
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
32/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.