You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 24, 2020. It is now read-only.
Hi David,
Thanks for your Bohr,it help me a lot in my project.
But now I have to change the datePicker.datePickerMode=UIDatePickerModeDateAndTime,
When I scroll the datePicker at today,the project will crash and the log is in the following:
*** Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan nan]' ***
Can you help me and tell me how to solve this problem?
Thanks a lot.
The text was updated successfully, but these errors were encountered:
Thanks for reporting that! It's a known issue and I'll try to address it in the future 4.0 release. I'm pretty sure it has to do with the way cells calculate their height based on their elements (UIPickerView is a super heavy element layout-wise, especially in DateAndTime mode).
@Steven4294 not really, I haven't been able to work on Bohr anymore since I'm quite busy. However I encourage you to look into it and PR a fix for this if you'd like 😄
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi David,
Thanks for your Bohr,it help me a lot in my project.
But now I have to change the datePicker.datePickerMode=UIDatePickerModeDateAndTime,
When I scroll the datePicker at today,the project will crash and the log is in the following:
*** Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan nan]' ***
Can you help me and tell me how to solve this problem?
Thanks a lot.
The text was updated successfully, but these errors were encountered: