-
-
Notifications
You must be signed in to change notification settings - Fork 409
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
DateTimePicker Error #907
Comments
I have this problem too. |
same issue here. any updates? |
confirmed |
any updates? |
Also getting this error logged |
I have this problem too. Any solution? |
I have this problem too |
Confirmed! Also having same issue |
Same here |
1 similar comment
Same here |
same here :) |
The above code in the following file The following will work only in ios.
For android, you need to create two pickers - one for date and other for time and handle the date time separately.
|
We have multiple date fields in our app on the same screen. When we have only one date picker on a screen, everything seems to work fine. After some debugging, I came across the following:
When we modify the line to the following:
The error disappears. The date is still successfully updated as well. |
Having the same error here. Any udpates? |
have the same error. Proposal given by perryfaro also solved it in my application. Thanks to perryfaro! |
thank you @perryfaro this works |
Thanks @perryfaro this has worked for me however this is just a temporary solution so I'm opening a PR now |
👋 @eypcnmrtOPT, 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. |
Question
When using the time and date picker in react native, the date is selected but the time cannot be selected. When date is selected “Warning: Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
Error message:
%s%s, TypeError: Cannot read property 'dismiss' of undefined,
in RNDateTimePickerAndroid” this error appears. Neither the time picker opens nor the date picker closes.
The text was updated successfully, but these errors were encountered: