[BUG] - confirm stack
smisyuk4 opened this issue · comments
Describe the error
Two confirmations in a row do not work
To play
Steps to reproduce the behavior:
- Create one
Confirm.prompt(
'Reauthorization',
'Please enter your password',
'',
'Send',
'Cancel',
answer => {
setPassword(answer);
},
() => {},
{}
);
};
- Create a second one
Confirm.show(
'Profile deletion!',
'Really delete?',
'So',
'No',
() => {
},
() => {}
);
Expected behavior
I expected that first there would be one modal window and I would enter the data, then I would get a message about deleting the profile and an option to confirm it