-
Notifications
You must be signed in to change notification settings - Fork 188
Description
Issue:
DatePickerInput
component starts to render but crashes when attempting to render the Month
child component inside the 'Calendar'.
Resolution:
We noticed the peerDependencies
for react-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 upgraded react-native-paper
from 5.3.1
to 5.12.3
which resolved the rendering issue - now the DatePickerInput
can fully render and load the calendar (albeit pretty slow in a debug mode app). Side note: when upgrading to the new react-native-paper
version we had to change an import of Provider
to PaperProvider
for react-native-paper
.
react-native-paper-dates/package.json
Line 87 in 9da295e
"react-native-paper": "*", |
Suggestion:
Please put down actual version numbers instead of asterisks for the peer dependencies of this package.