BugiDev / BugiDev/react-native-calendar-strip

Avoid scroll to center when scrollable is true

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

Description

Is there any proper way to prevent the selected date scroll to the center when the `scrollable` is true?

I trying to achieve a "scroll to snap" effect with both `scrollable` & `scrollerPaging`, however, when I select a date, it will scroll till the date align to the center.

So far I only manage to do that by disabling the `scrollToDate(...)` call in the source code.

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.