ionic-team / ionic-team/ionic-framework

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

Ouverte
#30,665 5 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
needs: investigation
Langage dominant
TypeScript
Étoiles
52.7k
Forks
13.3k
Merge moyen
1 j 15 h
PR mergées (30 j)
51

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

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

Évaluation

Stack technique
angular, typescript
Domaine
frontend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
48/100

Recevez les nouvelles issues par e-mail

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