Skip to content

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

@xJosue4hg

Description

@xJosue4hg

Prerequisites

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

<ion-modal [isOpen]="isOpenStart" trigger="popover-startDate" triggerAction="click"> <ng-template> <ion-datetime #startDate id="startDate" presentation="date" [value]="conventionForm.controls.startDate.value" (ionChange)="handleChangeStartDate($event.target)" > <ion-buttons slot="buttons"> <ion-button color="danger" (click)="startDate.cancel(true)">{{ 'cancel' | translate }}</ion-button> <ion-button color="success" (click)="startDate.confirm(true)">{{ 'accept' | translate }}</ion-button> </ion-buttons> </ion-datetime> </ng-template> </ion-modal>

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: investigationThis issue is waiting on more investigation from the engineering team.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions