Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable scroll animation between weeks #363

Open
ErionTp opened this issue Nov 25, 2022 · 0 comments
Open

Disable scroll animation between weeks #363

ErionTp opened this issue Nov 25, 2022 · 0 comments

Comments

@ErionTp
Copy link

ErionTp commented Nov 25, 2022

Below is the configuration for the calendar:

<CalendarStrip selectedDate={new Date()} onDateSelected={(value) => { 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant