Skip to content

bug: ion-datetime not working inside ion-popover without [keepContentsMounted]="true" #30620

Closed

Description

@ronnyjohn

Prerequisites

Ionic Framework Version

v8.x

Current Behavior

Datetime inside Popover is broken when not using [keepContentsMounted]="true"

  • Calender is missing
  • Arrows to switch the month do nothing
  • Clicking on month/year selektor switches the view, but is also broken
Image

Expected Behavior

Datetime works inside Popover regardless of [keepContentsMounted]

Steps to Reproduce

  1. Go to Stackblitz example
  2. Click on the Button

Code Reproduction URL

https://stackblitz.com/edit/sqy7nt6v?file=src%2Fapp%2Fexample.component.html

Ionic Info

8.7.1, 8.7.2

In 8.7.0 it was still working correctly.

Additional Information

  • In Chromium based browser i get the bug consistently. In Firefox it mostly still seems to work
  • When using [keepContentsMounted]="true" on the ion-popover it is still working in 8.7.1 and 8.7.2

Activity

  1. added a commit that references this issue on Aug 12, 2025
  2. JesusGMM commented on Aug 19, 2025

    @JesusGMM

    I’m experiencing the same issue, but when using PopoverController with the create option. Sometimes the ion-datetime mounts correctly, but in other cases it doesn’t work and looks the same as in the provided image.

  3. OS-jacobbell commented on Mar 10, 2026

    @OS-jacobbell
    Contributor

    Thanks for the issue! This should be fixed in Ionic 8.7.11 and later.

  4. ionitron-bot commented on Apr 9, 2026

    @ionitron-bot

    Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

  5. locked and limited conversation to collaborators on Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stencilIssues that require changes in Stenciltype: buga confirmed bug report

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions