question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android Date Picker wrong background color on 6.5.1

See original GitHub issue

Bug report

Summary

Hello, we are experiencing an Android bug on 6.5.1 where the date picker’s background color changed. Maybe we need to set it to a default for the picker?

6.5.0 6.5.1
4835209c-378d-4ab1-a4b2-cd4fb18e95f4 8bf6d142-0f5f-447c-8a95-ec3ebe9723a9

Reproducible sample code

I still don’t have a reproducible sample outside of our private repo.

Steps to reproduce

Describe what you expected to happen:

Environment info

npx react-native info output:

System:
    OS: macOS 12.6
    CPU: (10) arm64 Apple M1 Pro
    Memory: 90.30 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.16.0 - ~/.nvm/versions/node/v16.16.0/bin/node
    Yarn: 3.2.4 - ~/.yvm/shim/yarn
    npm: 8.11.0 - ~/.nvm/versions/node/v16.16.0/bin/npm
    Watchman: 2022.08.15.00 - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /Users/fonz/.rbenv/shims/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
    Android SDK:
      API Levels: 28, 29, 30, 31, 32, 33
      Build Tools: 30.0.2, 30.0.3, 31.0.0, 32.0.0, 32.1.0, 33.0.0, 33.0.0
      System Images: android-30 | Google APIs ARM 64 v8a, android-30 | Google APIs Intel x86 Atom, android-30 | Google Play ARM 64 v8a, android-31 | Google APIs ARM 64 v8a, android-32 | Google APIs ARM 64 v8a, android-33 | Google APIs ARM 64 v8a
      Android NDK: 25.0.8775105
  IDEs:
    Android Studio: 2021.3 AI-213.7172.25.2113.9123335
    Xcode: 14.0.1/14A400 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.14.1 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: Not Found
    react-native: Not Found
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

datetimepicker version: 6.5.1

iOS / Android version: Android api 30

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
vonovakcommented, Oct 25, 2022

@alfonsocj can you please try https://github.com/react-native-datetimepicker/datetimepicker/pull/680/files? Also if you have someone knowledgeable of android styling who could review, that would be nice 👍 thank you

0reactions
vonovakcommented, Oct 26, 2022

🎉 This issue has been resolved in version 6.5.3 🎉

If this package helps you, consider sponsoring us! 🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to change background color of datepicker in android
I need to change the background white color of calendarDatePicker in android. I have tried so many links in SO. but nothing worked...
Read more >
[Bug] DatePicker theming issues with Android dark mode #9033
DayNight, the DatePicker dialog box has a white background instead of dark gray when the device is in dark mode, resulting in unreadable...
Read more >
DatePicker - Android Developers
android :dayOfWeekBackground, The background color for the header's day of week. ... android:saveEnabled, If false, no state will be saved for this view...
Read more >
EasyBuilder Pro User Manual - Weintek.com
Set the color of caret that appears when entering data in. Numeric Input and ASCII Input objects, or change the selection color. Project...
Read more >
SelectField | ExtReact 6.5.1 - Sencha Documentation
This option controls whether to initially load the store when a value is set so that the display value can be determined from...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found