Open mattburnett-repo opened 1 month ago
Thanks for mapping this out, @mattburnett-repo! @momanyisamuel and I were seeing much of this earlier today. By all means feel free to take this on :)
Let's definitely handle issue 1 first and move to the second as you sugguested!
Created local branch 980.2, in order to address the secondary issue in this bug report (possible duplicate modal-handling code in some of the codebase). Once this secondary issue is addressed, another PR for this bug report will arrive.
Thanks @mattburnett-repo!
Terms
Behavior
A quick summary:
Steps to reproduce:
Notes (why this might be happening, things tried that didn't work, etc):
So there are two issues: 1 The closeModal() method is triggered every time a user navigates around the app, whether there is an open modal or not. 2 There is duplicate code in some components that handles modal closing outside of ModalBase.vue. ModalBase should be the only place where modals are closed.
I suggest that the primary issue (issue 1) be resolved first and then be sent through the PR process. Once the PR is closed, the secondary issue (issue 2) should be addressed.
I'm happy to take this on. Let me know if this approach is appropriate, or if another approach is preferred.