react-native-calendar-kit icon indicating copy to clipboard operation
react-native-calendar-kit copied to clipboard

Header does not move but the body does on the first call to goToDate() when the body has not been swiped even once by hand

Open ArindamRayMukherjee opened this issue 11 months ago • 1 comments

When the component is rendered initially and CalendarKit gotoDate is called externally, without the calendar body having been swiped by hand at least once, the body moves as per the gotoDate but not the header.

In subsequent attempts the header and the body move together.

See attached screen recording, for the first setting of the month the header does not move. However if you tease the body by swiping slightly, the real dates come out in the header. Second attempt onwards everything looks OK.

https://github.com/user-attachments/assets/4cd796d8-10e5-4575-b8ac-f815c36c0690

ArindamRayMukherjee avatar Jan 20 '25 15:01 ArindamRayMukherjee

Possibly the same issue as this https://github.com/howljs/react-native-calendar-kit/issues/149

ArindamRayMukherjee avatar Jan 22 '25 07:01 ArindamRayMukherjee

Possibly related - https://github.com/howljs/react-native-calendar-kit/issues/174

ArindamRayMukherjee avatar Mar 09 '25 10:03 ArindamRayMukherjee

I've fixed the calendar header sync issue during programmatic date changes and created a PR. #192

khayym avatar Mar 16 '25 20:03 khayym