From 4f4dc85f8c90401bd58e66cf2f2488af64afd281 Mon Sep 17 00:00:00 2001 From: emelko Date: Sun, 20 Sep 2020 15:02:51 +0200 Subject: [PATCH] Sets calendar pastScrollRange to 10 years --- components/calendar.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/calendar.js b/components/calendar.js index d3a9c44..3ab41df 100644 --- a/components/calendar.js +++ b/components/calendar.js @@ -77,6 +77,8 @@ class CalendarView extends Component { markedDates={markedDates} markingType={'custom'} theme={calendarTheme} + // Max amount of months allowed to scroll to the past. + pastScrollRange={120} /> )