-
Notifications
You must be signed in to change notification settings - Fork 55
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
BUG: RangeError: invalid array length #24
Comments
By the way, I think the library is difficult to find on the web. I think it should have much more visibility |
Hi @kesylo I can't reproduce this error based on the basic example, but I'm trying to find what caused this error. |
Thank you for your interest in the library, yes you are right I have to work much more on visibility 👀 |
Btw I'm also using expo |
Based on the error message, I found that this problem is about the time picker values, the values array must be checked before rendering, and I created a branch to fix it. |
Hello @farhoudshapouran
I found this issue when using the library. I just discovered this component and it looks amazing. thanks for working on this.
I followed your docs and the basic example but it crashes when you select a date.
To reproduce:
I checked the code a bit, it looks like it comes from the DaySelector function in the utils.ts file
Please if you could look at this, it will be very helpful to me.
Thanks
The text was updated successfully, but these errors were encountered: