BugiDev / BugiDev/react-native-calendar-strip

Let us pass numDaysScroll as a prop, to avoid certain scrolling bugs.

Open
#339 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
976
Forks
336
PR merge metrics
No merged PRs in 30d

Description

Because of the RecyclerListView that the scroller uses, there are certain restrictions. For example, if I programatically set the selected date to a date outside the current recycle index, the calendar won't scroll to that date.

The number of days in the recycle index is set in calendarStrip.js: this.numDaysScroll = 366;

Can we have the option to set this via a prop instead of it being hard coded, as a way to work around the bugs?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.