Closed rogeriocsilva closed 4 years ago
Hey, I just upgraded this lib to use the onNavigateForward callback, as you mentioned in this issue : https://github.com/arqex/react-datetime/issues/429
What is happening is: when I use the onNavigateForward to update my wrapper internal state, the picker keeps closing. If I only console.log the params (amount and viewMode) it doesn't close. When I removed the closeOnSelect it works as expected.
my bad, forgot to upgrade to @latest
@latest
Hey, I just upgraded this lib to use the onNavigateForward callback, as you mentioned in this issue : https://github.com/arqex/react-datetime/issues/429
What is happening is: when I use the onNavigateForward to update my wrapper internal state, the picker keeps closing. If I only console.log the params (amount and viewMode) it doesn't close. When I removed the closeOnSelect it works as expected.