You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: Ion-datetime calendar-body doesn’t show after update to Cap7 #30665
I have searched for existing 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.
Expected Behavior
Fix this bug for Capacitor version 7 so that migration can be performed correctly.
Same for me. I build a custom component which opens modal with calendar. On iOS it is ok but on android the " datetime-ready" never happend and the days are missing. Please fix it
I also have this problem at the moment i updated @ionic/angular: 8.7.17 to 8.7.18 and beyond, so maybe something with the update: datetime: stretch ion-buttons to fill space for ios (#30963) (d46b0b1)
This is the same issue as #30620, and it no longer reproduces on 9.0.9. ion-datetime keeps its calendar days hidden until it detects that it is on screen, and inside a modal that detection sometimes never arrived, which left the days blank and the month arrows unresponsive. #30793 fixed it on Android and in Chromium browsers in v8.7.11. The blank calendar on iOS mentioned in later comments is a separate WebKit issue, tracked in #30933 and fixed by #31460 in v9.0.5. Setting keepContentsMounted as an earlier comment suggests does not prevent the iOS case, so update to 9.0.5 or later instead. If you need to stay on v8 for now, closing and reopening the modal brings the calendar back.
Closing this as a duplicate of #30620, where the full details are.
Activity
ondrotoman commentedon Sep 4, 2025
Same for me. I build a custom component which opens modal with calendar. On iOS it is ok but on android the " datetime-ready" never happend and the days are missing. Please fix it
jacobg commentedon Sep 9, 2025
Since Ionic 8.7 (from 8.6), the ion-datetime component won't render inside a modal.
jacobg commentedon Sep 9, 2025
It seems since 8.7, if you render in a modal, you need to set the
:keep-contents-mounted="true"on theion-modalto display the picker. Easy fix 😄Ranxxxxx commentedon Jan 20, 2026
Bad news: Even with
keep-contents-mounted=“true”set, there's still a chance it might go blank.Tandstad commentedon Mar 26, 2026
I also have this problem at the moment i updated @ionic/angular: 8.7.17 to 8.7.18 and beyond, so maybe something with the update: datetime: stretch ion-buttons to fill space for ios (#30963) (d46b0b1)
thetaPC commentedon Oct 26, 2026
Thanks for the report, and sorry for the delay.
This is the same issue as #30620, and it no longer reproduces on 9.0.9.
ion-datetimekeeps its calendar days hidden until it detects that it is on screen, and inside a modal that detection sometimes never arrived, which left the days blank and the month arrows unresponsive. #30793 fixed it on Android and in Chromium browsers in v8.7.11. The blank calendar on iOS mentioned in later comments is a separate WebKit issue, tracked in #30933 and fixed by #31460 in v9.0.5. SettingkeepContentsMountedas an earlier comment suggests does not prevent the iOS case, so update to 9.0.5 or later instead. If you need to stay on v8 for now, closing and reopening the modal brings the calendar back.Closing this as a duplicate of #30620, where the full details are.