Skip to content

bug: <ion-input type="date"> completely freezes mobile safari when switching between two inputs #25745

Description

@cg-roling

Prerequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x
  • Nightly

Current Behavior

On Mobile Safari (tested on iPhone 13 Pro), clicking between multiple elements can lock up the browser.

Expected Behavior

Clicking between multiple elements shouldn't have any negative effects.

Steps to Reproduce

I have created a Stackblitz with repro directions that you can open on Mobile Safari here:
https://ionic6-angular13-2zcq7v.stackblitz.io

You can view the source and edit here:
https://stackblitz.com/edit/ionic6-angular13-2zcq7v

Code Reproduction URL

https://github.com/cg-roling/ionic6-datetime-repro

Ionic Info

The stackblitz I forked from seems to have some dependency issues, I wasn't able to successfully run npm install locally. If necessary I can start over with a fresh ionic project. This reproduces easily in a production app as well.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions