-
Notifications
You must be signed in to change notification settings - Fork 176
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
Render Error for DatePickerInput component: "Check the render method of 'Month'" #392
Comments
Hey! Thanks for opening the issue. Can you provide a minimal repro which demonstrates the issue? Posting a snippet of your code in the issue is useful, but it's not usually straightforward to run. A repro will help us debug the issue faster. Please try to keep the repro as small as possible. The easiest way to provide a repro is on snack.expo.dev. If it's not possible to repro it on snack.expo.dev, then you can also provide the repro in a GitHub repository. |
Same issue here |
Hey! Thanks for opening the issue. Can you provide more information about the issue? Please fill the issue template when opening the issue without deleting any section. We need all the information we can, to be able to help. Make sure to at least provide - Current behaviour, Expected behaviour, A way to reproduce the issue with minimal code (link to snack.expo.dev) or a repo on GitHub, and the information about your environment (such as the platform of the device, versions of all the packages etc.). |
+1 |
i got this error and resolved it by updating to the latest version of |
Hello 👋, this issue has been open for more than a month without a repro or any activity. If the issue is still present in the latest version, please provide a repro or leave a comment within 7 days to keep it open, otherwise it will be closed automatically. If you found a solution or workaround for the issue, please comment here for others to find. If this issue is critical for you, please consider sending a pull request to fix it. |
Issue:
DatePickerInput
component starts to render but crashes when attempting to render theMonth
child component inside the 'Calendar'.Resolution:
We noticed the
peerDependencies
forreact-native-paper
is an asterisk*
which is a bad idea for ensuring compatibility and letting end users know what version they should be using at a minimum. We upgradedreact-native-paper
from5.3.1
to5.12.3
which resolved the rendering issue - now theDatePickerInput
can fully render and load the calendar (albeit pretty slow in a debug mode app). Side note: when upgrading to the newreact-native-paper
version we had to change an import ofProvider
toPaperProvider
forreact-native-paper
.react-native-paper-dates/package.json
Line 87 in 9da295e
Suggestion:
Please put down actual version numbers instead of asterisks for the peer dependencies of this package.
The text was updated successfully, but these errors were encountered: