-
-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onStateChange still not being called #808
Comments
I don't manage to reproduce this, can you please provide a repo where this is reproduced and I will have a look! Did you rebuild after upgrading? |
Hello, I am experiencing the same issue. You can see in attached video that the state is not being set consistently. `export interface DatePickerProps { const DatePicker = ({ const handleSetDate = (date: Date) => { const handleCancel = () => { const minimumDate = mode === "datetime" ? new Date() : startOfDay(new Date()); const formatedDate = return ( 6257e3aa-9762-4051-bfa2-c9b77f47aa39.mp4 |
I had an issue in version 4.2.13 with the date selection when the user scrolls through the picker fast. I then found out about onStateChange prop that has been added in 4.4.0 version and then fixed more in 5.0.1. I tried with 5.0.1 and 5.0.2 (the newest version when I am writing this) and neither onStateChange prop returns anything.
I was expecting to get some kind of value (state representation or event that is being processed) but I get nothing, the function never gets called.
In my code I have
Screen.Recording.2024-05-02.at.00.16.52.online-video-cutter.com.mp4
The text was updated successfully, but these errors were encountered: