ionic-team / ionic-team/ionic-framework

bug: Ion-datetime calendar-body doesn’t show after update to Cap7

Đang mở
#30,665 5 bình luận 1 reaction 0 người được giao Xem trên GitHub
needs: investigation
Ngôn ngữ chính
TypeScript
Star
52.7k
Fork
13.3k
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
51

Mô tả

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

v8.x

### Current Behavior

Before updating to the latest version of Capacitor 7, the ion-datetime components were displayed correctly, but now the grid with the component days is not displayed. I decided to revert to the previous version of Capacitor, but the problem persists.

Image

### Expected Behavior

Fix this bug for Capacitor version 7 so that migration can be performed correctly.

### Steps to Reproduce

`




{{
'cancel' | translate
}}
{{
'accept' | translate
}}


`

### Code Reproduction URL

https://stackblitz.com/edit/uthfag6k?file=src/app/example.component.ts,src/app/example.component.html

### Ionic Info

Ionic:

Ionic CLI : 7.2.0
Ionic Framework : @ionic/angular 8.0.0
@angular-devkit/build-angular : 19.0.0
@angular/cli : 20.2.0

Capacitor:

Capacitor CLI : 6.2.1
@capacitor/core : 6.2.1

System:

NodeJS : v22.12.0
npm : 11.5.2
OS : win11

### Additional Information

_No response_

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

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

Hướng nghiên cứu

Start with the StackBlitz reproduction linked in the issue and inspect the ion-modal and ion-datetime usage shown there. Compare the behavior across the reported Capacitor versions and trace why the date grid is not rendered after the update. Done means the calendar-body days appear correctly in the provided reproduction during the migration scenario.

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

Đánh giá

Công nghệ
angular, typescript
Lĩnh vực
frontend
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/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.