You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scenario and expected result.
I have a stacked scene and before pop this scene (using Actions.pop()),
I show a confirm Dialog using Modal from react-native-router-flux.
On OK press in the Dialog, I want to close Dialog (Modal) and pop the Scene at once.
Actual result
Actions.pop() dismisses the Dialog but not Scene.
I found workaround in v3.
Just calling setTimeout(Actions.pop) works.
In my original post, I made some mistakes. setTimeout(Action.pop, N) should works.
I'm using react-native-router-flux : 3.40.1
Scenario and expected result.
I have a stacked scene and before pop this scene (using Actions.pop()),
I show a confirm Dialog using Modal from react-native-router-flux.
On OK press in the Dialog, I want to close Dialog (Modal) and pop the Scene at once.
Actual result
Actions.pop() dismisses the Dialog but not Scene.
My code structure
Same with Modal example in https://github.com/aksonov/react-native-router-flux/blob/master/docs/OTHER_INFO.md
I tried in the onPress() in the Dialog
Am I doing right?
The text was updated successfully, but these errors were encountered: