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

setVisibleDate doesn't really change the date.

Open basaksilasanli opened this issue 1 year ago • 0 comments

I think setVisibleDate doesn't really change the date. I have a custom header component and when I click on it I change the day with this function, goToDate causes a refresh on the screen so I did not want to use it. And using the _onPressBackground function I get the dateTime and calculate the duration and create an event. But this dateTime always stays at the initial value, it does not return the date I go to using setVisibleDate.

Is it a bug or shouldn't we use setVisibleDate for this situation?

Thank you for your time and support!

basaksilasanli avatar Jan 09 '25 12:01 basaksilasanli