react-native-calendar-kit
react-native-calendar-kit copied to clipboard
setVisibleDate doesn't really change the date.
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!