Closed ValTKT closed 3 years ago
You can't have two popovers open at the same time (unless you use js-modal
mode), so you should use the onCloseComplete
prop to know when it is safe to show the next popover. If there is any overlap the second will fail to show.
I am currently trying to make a popover tutorial for an app. My problem is that I need to show a popover and when clicking on the "Next" button, close the current popover and opening an other after some time. When trying to set the new state, the current popover is closing but the next one is not opening. I am using react-native-popover-view. Here is my code:
The tmp and popoverDetails are the same. I also tried putting a setTimeout but it doesn't seem to work. Any suggestions on how to perform this ?