-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Past Months not rendering in Agenda #468
Comments
This looks to be an issue with using I was able to find an issue that explains it here: Removing |
I have put out a PR to resolve this issue, referenced above. |
This issue is a dupe of #425 |
@chrismllr Could you provide with exact code snippet to reproduce the problem? The snippet in your bug description has external functions which are not defined |
I've had the same problem in iOS - the calendar list is blank above the current month. Problem doesn't appear in Android. As I don't need a large range (and thanks to chrismllr highlighting the cause) I was able to temporarily solve it by setting pastScrollRange and futureScrollRange to a maximum total range of 10 months. Would be great not to need to though |
Description
Past months are not being rendered in the Agenda view.
Usage:
Expected Behavior
Expected: Scrolling up after toggling CalendarList should show previous months
Observed Behavior
Actual: No months rendered. I've dug a little into it, And i'd at least expect the
texts
to be rendered (the text interpretations of the not-yet-rendered Calendar components) But even those are not being rendered through the FlatList.If there's an error message, please paste the full terminal output and error message in this code block:
No error message reported.
Environment
Please run these commands in the project folder and fill in their results:
npm ls react-native-calendars
:npm ls react-native
:Also specify:
Reproducible Demo
Open Calendar list - scroll up
The text was updated successfully, but these errors were encountered: