click outside the modal while operation is still ongoing
issue: modal will close, once the operation is completed, modal will pop up again
proposed solution: do not reopen the modal if closed
wipe_memory_modal_bug.webm
Fix
Fixed by applying toggleModal only if isOpen is true.
Type of change
Please delete options that are not relevant.
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
Problem
issue: modal will close, once the operation is completed, modal will pop up again proposed solution: do not reopen the modal if closed wipe_memory_modal_bug.webm
Fix
Fixed by applying toggleModal only if isOpen is true.
Type of change
Please delete options that are not relevant.
Checklist: