-
Notifications
You must be signed in to change notification settings - Fork 329
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
scrollerPaging. The strip spins on 6 days for the first time, then – on 7 days #269
Comments
I'm also facing this issue. Not sure on the cause but it makes the app look a little confusing at times. |
This may be a bug in the scrolling algorithm. Please use the demo project in this repo to debug and submit a PR. https://github.com/BugiDev/react-native-calendar-strip#development-with-sample-application |
This has been published in 2.2.0 Thanks @psolom for the PR |
@peacechen Same issue happening on master branch. I'm setting starting of date as Monday. But it is again changing to Sunday when we scroll to next week. |
@ozanmanav Make sure you set |
@psolom Thanks for answer. Can you share a piece of code for this situation? In my case, it starts with Monday when it doesn't scroll at all, but when it scrolls it always becomes Sunday on the first day.
|
I think I found the problem. This problem happens when I close the left selector and right selector. When you open them, the problem disappears. I guess there is actually a little slip. I made an issue about this: #291 |
@ozanmanav try this solution on this issue #266 |
If the week starts on Monday, I want the bar to scroll until the next or previous Monday, but for some reason, when the first scroll, the bar spins for 6 days, and then properly - for 7 days.
My config:
Someone know, how to fix it?
The text was updated successfully, but these errors were encountered: