BugiDev / BugiDev/react-native-calendar-strip

Disable scroll animation between weeks

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

Description

Below is the configuration for the calendar:

` {
setCurrentDate(value.toDate());
refetch();
}}
scrollToOnSetSelectedDate={false}
useIsoWeekday={true}
style={{ height: 60, width: '100%' }}
scrollerPaging={true}
scrollable={true}
showMonth={false}
useNativeDriver={true}
calendarAnimation={{ type: 'parallel', duration: 30 }}
upperCaseDays={false}
iconContainer={{
display: 'none',
}}
highlightDateNameStyle={{ color: 'white' }}
highlightDateNumberStyle={{ color: 'white' }}
highlightDateContainerStyle={{ backgroundColor: APP_COLORS.blue, borderRadius: 8, width: 40 }}
/>`

Can anyone please help me how to disable the scroll animation? When I try to scroll to the next week the animation slows down the scroll.

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.