Open maxgenest opened 3 years ago
When I use datesBlackList prop I have a "Cannot read property scrollToIndex of undefined" error on android. Everything works fine on iOS.
My datesBlackList :
const datesBlacklist = [ { start: moment().subtract(1, 'week'), end: moment().subtract(1, 'day'), }, ];
Fix proposed : add a && this.rlv condition in Scroller.js line 145
&& this.rlv
if (this.state.data[i].date.isSame(targetDate, "day") && this.rlv)
When I use datesBlackList prop I have a "Cannot read property scrollToIndex of undefined" error on android. Everything works fine on iOS.
My datesBlackList :
Fix proposed : add a
&& this.rlv
condition in Scroller.js line 145