react-native-calendar-strip icon indicating copy to clipboard operation
react-native-calendar-strip copied to clipboard

iOS - When setting scrollable to true and a max date, sometimes dates are not tappable

Open VanessaChu opened this issue 5 years ago • 0 comments

When I set scrollable to true and a max date, dates > selected date is not tappable

                    <CalendarStrip
                        scrollable
                        style={styles.calendar}
                        maxDate={moment().add(14, 'days')}
                        minDate={moment().subtract(28, 'days')}
                        useIsoWeekday={false}
                        selectedDate={selectedDate}
                        startingDate={selectedDate.clone().subtract((numberOfDays - 1) / 2, 'days');}
                        onDateSelected={this.onDateSelected}
                        onWeekChanged={this.onWeekChanged}
                    />

VanessaChu avatar Oct 27 '20 18:10 VanessaChu