Avoid scroll to center when scrollable is trueSee original GitHub issue
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
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.
- Created 2 years ago
- Comments:11 (3 by maintainers)
Top GitHub Comments
From what I understand about the
scrollerPaging, it supposes to always snap to a week, and the week start & end are defined by the
startingDate. So ideally, if we enabled
scrollerPaging, instead of positioning the selected date to center, it should always fix the position to the selected week.
Just checking in - did anyone happen to make any progress with this one?