Version(s)
- react-native-router-flux v3.31.2
- react-native v15.2.1
I am encountering an issue when trying to call Actions.dialog()
multiple times and receiving an error message.
Despite attempting the fix mentioned in https://github.com/aksonov/react-native-router-flux/issues/327, the problem persists, leaving me puzzled about what else might be causing it...
The only workaround I have found is using pop() to close it, but this solution is not ideal as it may affect other functionalities in my application.
If anyone has any insights or suggestions, your help would be greatly appreciated.
The error :
`1:$dialog_1_dialog`. Child keys must be unique; when two children share a key, only the first child will be used.
// Error details here...
The code
<Scene key="modal" component={Modal} >
<Scene key="root">
<Scene key="launch" initial={true} component={Launch} />
...
</Scene>
{/*Modals*/}
...
<Modal key="dialog" component={Dialog} direction="vertical"/>
</Scene>