BugiDev / react-native-calendar-strip

Easy to use and visually stunning calendar component for React Native.
MIT License
958 stars 329 forks source link

scrollable={true} is not working in IOS and android both platform #382

Closed iamharisdev closed 2 months ago

iamharisdev commented 2 months ago

I got two issues in this package

1- scrollable={true} is not working in IOS and android both platform 2- highlightDateContainerStyle={{ backgroundColor: Colors.basicColor, borderRadius: 10, }}

` <CalendarStrip useNativeDriver={true} scrollable={true} useIsoWeekday={true} calendarAnimation={{type: 'sequence', duration: 30}} daySelectionAnimation={{ type: 'background', duration: 300, highlightColor: Colors.basicColor, }} style={styles.calendarContainer} innerStyle={[{backgroundColor: 'white'}]} dayComponentHeight={60} dayContainerStyle={styles.dayContainerStyle} calendarHeaderStyle={{color: 'white', height: 0}} calendarColor={'white'} dateNumberStyle={{ color: Colors.textLight, fontFamily: Fonts.POPPINS_MEDIUM, }} dateNameStyle={{color: Colors.gray1_DFE0E2}} iconContainer={{flex: 0}} highlightDateNameStyle={{color: 'white'}} highlightDateNumberStyle={{color: 'white'}} highlightDateContainerStyle={{ backgroundColor: Colors.basicColor, borderRadius: 10, }} iconLeftStyle={{height: 0}} iconRightStyle={{height: 0}} datesBlacklist={datesBlacklistFunc} selectedDate={selectedDate} onDateSelected={onDateSelected}

  />`
iamharisdev commented 2 months ago

I installed 1.4 something version of this package but after upgrade it to 2.2.6 then it's working fine