react-native-datetimepicker / datetimepicker

React Native date & time picker component for iOS, Android and Windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to select the already selected date on iOS spinner datetimepicker

ksodhithentia opened this issue · comments

Bug report

Summary

As in the screenshot, when opened the spinner for date, defaults to today (April 25,2024). There is no way to select this. The only way it works is I, first change it to some other date and then set it back to April 25, 2024. From my understanding, until a change is triggered, it wont set the date and close the spinner.

Steps to reproduce

  1. Open the date picker in spinner mode
  2. It will be pre-slected to today's date(locally)
  3. Unable to select the pre-selected date

Describe what you expected to happen:

  1. Open the date picker in spinner mode
  2. Tap on today's day (25 in my case), sets the date to 25 April, 2024 and spinner closes

image

datetimepicker version: 7.6.2

iOS / Android version: iOS 17.4

👋 @ksodhithentia, sorry you're having an issue. This issue is being closed because it does not provide all information required by the issue template. As the issue template explains, we require that you provide a runnable example that reproduces your issue and your environment information. This means you need to provide a code snippet that we can copy-paste into an empty project and see the error ourselves, or provide a git repository with the issue.
The reason is that maintainers do not have time to try reproduce bugs themselves. Please try to minimize the superfluous code and focus only on reproducing the bug.
Please create a new issue with this and we'll be happy to review it!