Open ashokkumar88 opened 6 years ago
Can you solve this?
@jacklam718 , have you got any idea?
You need to add a check on DialogManager.js inside the node modules node_modules/react-native-dialog-component/dist/DialogManager.js
line no 129 if (dialog != undefined) dialog.destroy();
Just add the check above dialog.destroy()
like this:-
It helped thanks. By the way, I really like this type of libraries. It works out of render method, you dont have to embed it into other components. Just called it from show() method, just like Alert.alert().
hello, is this already fixed? looks like I had the same problem.
Hi,
When I dismiss a dialog via
DialogManager.dismiss(() => { console.log('callback - dismiss'); });
the dialog is dismissed but i m getting error. screenshot attached.