react-native-calendar-kit
react-native-calendar-kit copied to clipboard
Header not getting changed on Daily , 3 Days view when changed date through goToDate in latest version.
@howljs
same on 7 days view
Begin working only after you have made your first swap to the left or right to alter the date.
Is there any update on this? I have tried using this calendar component and this is the only bug that is preventing me from using it. Here is the problem:
When I use the goToDate() function to programmatically change the date in the calendar, I expect that the dates in the calendar also changes. However, the header does not update unless I swipe the calendar timeline left or right.
Something is not being updated or rendered after calling the goToDate() function in the calendar. Any ideas? @howljs?
@pateljoel I solved this by replacing useSyncedList.tsx file inside hooks folder from previous version.
@SwikarBhattarai which version did you copy from?
@pateljoel I solved this by replacing useSyncedList.tsx file inside hooks folder from previous version.
which version did you copy from?
@SwikarBhattarai Is this the same issue as mine?
https://github.com/howljs/react-native-calendar-kit/issues/178
To solve this issue, replace useSyncedList.tsx file from v2.1.0.
I apologize everyone for being a bit busy lately, so I haven't been able to update the library. I will try to find time to update and improve the issues next month
@howljs No apology needed at all! Its a great lib and will save us a lot of time!
We're a small team but we can help fix things with a bit of guidance from you on the lib structure, if you think that can save you time. Otherwise happy to wait for when you come around to this.
This comment worked for me, thanks @SwikarBhattarai.
To solve this issue, replace useSyncedList.tsx file from v2.1.0.
but onDateChanged function return date is error
To solve this issue, replace useSyncedList.tsx file from v2.1.0.
Hi, I fully reverted the version to 2.1.0 bu the behaviour is the same, can you please point I am doing wrong> thanks.
Any hope of having this in the next version? 🥹
To solve this issue, replace useSyncedList.tsx file from v2.1.0.
Hi, I fully reverted the version to 2.1.0 bu the behaviour is the same, can you please point I am doing wrong> thanks.
hey @butterfly-valley did you have any luck with this?
having the issue, i have numsOfDays={1} with this when i swipe left for first time it changed the date fine but when i do that again it stays in the same day and again i swipe i swept two days directly. any solution on this? using version 2.2.2 with newArchEnabled={true}