Why
Suggestion - to avoid operations being interrupted in multi-step flows, it could be helpful to block the users from accidentally reloading the browser by throwing a JavaScript alert that asks them to confirm the action.
What
window.onbeforeunload = function () {
return 'Transaction is still processing. If you reload you will lose your progress - are you sure?';
}
All potential multi-step transactions would need to be identified and this alert be added. Could be created as composable.
Why Suggestion - to avoid operations being interrupted in multi-step flows, it could be helpful to block the users from accidentally reloading the browser by throwing a JavaScript alert that asks them to confirm the action.
What
All potential multi-step transactions would need to be identified and this alert be added. Could be created as composable.