ionic-team / ionic-team/ionic-framework

bug: ion-datetime calendar part is blank (iOS 26.2)

未关闭
#30,933 9 条评论 5 个 reaction 已指派 0 人 在 GitHub 查看
package: core type: bug
主要语言
TypeScript
星标
52.7k
派生
13.3k
平均合并
1 天 15 小时
30 天内合并 PR
51

描述

### Prerequisites

- [x] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#creating-an-issue).
- [x] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [x] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.

### Ionic Framework Version

v7.x

### Current Behavior

This issue has only been seen and reproducible on ios 26.2 only.

When opening ion-datetime, more often than not, the calendar part is blank. This is because ion-datetime does NOT have the class 'datetime-ready', which it needs to show the calendar part.

### Expected Behavior

Opening ion-datetime displays the calendar part.

### Steps to Reproduce

1. Tap on an ion-datetime
2. Observe
NOTE: This does not happen every time. Higher chance to reproduce after launching an app.

### Code Reproduction URL

.

### Ionic Info

Ionic:

Ionic CLI : 7.1.1 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/react 7.8.6

Capacitor:

Capacitor CLI : 7.4.3
@capacitor/android : 7.4.3
@capacitor/core : 7.4.3
@capacitor/ios : 7.4.3

Utility:

cordova-res : not installed globally
native-run : 2.0.1

System:

NodeJS : v20.19.5
npm : 10.8.2
OS : macOS Unknown (Sequoia Version 15.7.3 (24G419))

### Additional Information

https://github.com/user-attachments/assets/bb215654-6118-4bd8-b3cc-50d5666c5f58

Image

贡献指南

打开贡献指南

调研方向

Start by reproducing ion-datetime in an Ionic React app on iOS 26.2, especially after launching the app, and inspect when the datetime-ready class is absent. The issue is done when opening ion-datetime consistently displays the calendar part on the affected platform.

由索引模型根据 Issue 内容生成。

评估

技术栈
ios, react, typescript
领域
frontend, mobile
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
58/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。