apache / cordova-ios

Apache Cordova iOS
https://cordova.apache.org/
Apache License 2.0
2.16k stars 989 forks source link

iOS 14 date-picker is not displayed correctly #1001

Closed rotem-hen closed 4 years ago

rotem-hen commented 4 years ago

Problem

  1. Add this to index.html:

    <input type="datetime-local" />
  2. When clicking on the input box, it displays the picker wrong.

What is expected to happen?

Expected to see the new picker Safari uses in iOS 14:

ipad, 14, safari

What does actually happen?

The new picker is displayed like this:

ipad, 14, cordova

Information

  1. The images are from iPad but it's the same on iPhone.
  2. The images are with date picker but it's the same with time picker.
  3. When looking at iOS 13.5 device, there is the old picker which works ok.

Safari (left) and Cordova (right):

ipad, 13 5, safariipad, 13 5, cordova

Environment, Platform, Device

iOS 14 devices cordova 9.0.0 cordova-ios 5.1.1

Checklist

breautek commented 4 years ago

Is this reproducible on cordova-ios@6?

rotem-hen commented 4 years ago

Sorry, it's not happening OOTB. Closing.