Closed karuru6225 closed 3 years ago
Fixed a bug where calling updateWeekView immediately after calling setSelectedDate would display an unintended date. It was because setState was running asynchronously.
It is reenact with the following code. https://snack.expo.io/E4K9r9rrQ
Thanks @karuru6225 for this fix
Fixed a bug where calling updateWeekView immediately after calling setSelectedDate would display an unintended date. It was because setState was running asynchronously.
It is reenact with the following code. https://snack.expo.io/E4K9r9rrQ