apache / cordova-android

Apache Cordova Android
https://cordova.apache.org/
Apache License 2.0
3.59k stars 1.52k forks source link

Color palette for native android date picker incorrect #1614

Closed tschuppi closed 12 months ago

tschuppi commented 12 months ago

Bug Report

Problem

What is expected to happen?

Colors for selected and current date have a blue color.

What does actually happen?

Colors for selected and current date are transparent.

Information

Command or Code

Create new cordova project: "cordova create example-project" Add platform: "cordova platform add android@9.1.0" At the example www folder: index.html: Insert HTML input with type date cordova run android Click on datepicker The datepicker looks like the image attached. All colours are messed up and the current day color + selected date color are transparent.

Screenshot 2023-05-16 172556

Environment, Platform, Device

Galaxy XCover Pro Android 13

Version information

Cordova Android 9.1.0

Checklist

breautek commented 12 months ago

Cordova doesn't control browser features, that's implemented by the underlying webview. To some extent, the colours may be controlled by some CSS (although styling on input fields is usually limited)

Ensuring that your system webview is up to date may solve this issue. For what it's worth, I'm not reproducing it on Chrome webview v112.

Closing as not-a-bug.