Open comxd opened 4 years ago
For this example, a simple solution is to use setTimeout()
before invoke dialog.alert()
.
For this example, a simple solution is to use
setTimeout()
before invokedialog.alert()
.
Are you sure that's correct approach? This seems like a bug...
In case of displaying a new dialog inside a callback, the new dialog is correctly displayed but disappear after component is re-rendered.
Codesandbox: https://codesandbox.io/s/muibox-13-bug-chained-dialogs-06lo3