- Issue created by @kwiseman
- First commit to issue fork.
- Status changed to Needs review
4 months ago 5:05am 8 August 2024 - Assigned to atul_ghate
- Assigned to snehal-chibde
- Status changed to RTBC
4 months ago 6:38am 8 August 2024 - 🇮🇳India snehal-chibde
hello @omkar-pd, I have tested the code on in version 2.0.x-dev and now the modals are getting removed from DOM on click of close button. Added a video recording for reference.
- 🇮🇳India atul_ghate
Hi
I have reproduced the issue successfully...
I have tested MR 562 on the Drupal 10.3 version,
The MR is applied cleanly....Test Result:
Modals created by Project Browser do have their HTML removed from the DOM after they're closed.RTBC+1
- 🇺🇸United States chrisfromredfin Portland, Maine
chrisfromredfin → changed the visibility of the branch 3458908-remove-modals-after to hidden.
- Status changed to Needs review
4 months ago 2:53pm 14 August 2024 - 🇺🇸United States chrisfromredfin Portland, Maine
I found that this would not remove the HTML if the dialog was closed using ESC. Using the Drupal.dialog() api, you can specify a handler to invoke when the modal is closed. I moved the code into there and it seems to be working.
Could someone re-test this with the latest, review my code, ensure it's working, and set it back to RTBC?
- Issue was unassigned.
- Status changed to Needs work
4 months ago 3:08pm 14 August 2024 - Status changed to Needs review
4 months ago 4:37pm 14 August 2024 - 🇺🇸United States chrisfromredfin Portland, Maine
Needs manual tests, but automated tests were failing for flakiness only (retests passed).
- Status changed to RTBC
4 months ago 6:16am 15 August 2024 - 🇮🇳India omkar-pd
Tested this locally. Removes Modals dialog on Esc and on close.
- 🇮🇳India snehal-chibde
hello @chrisfromredfin, I have tested the code in version 2.0.x-dev and now the modals are getting removed from DOM on click of ESC button and Close Icon both. Added a video recording for reference.
-
chrisfromredfin →
committed 5dcb8c31 on 2.0.x authored by
omkar-pd →
Issue #3458908 by omkar-pd, chrisfromredfin, snehal-chibde, kwiseman:...
-
chrisfromredfin →
committed 5dcb8c31 on 2.0.x authored by
omkar-pd →
- Status changed to Fixed
4 months ago 3:52pm 15 August 2024 - 🇺🇸United States chrisfromredfin Portland, Maine
Thanks all, a good little cleanup!
Automatically closed - issue fixed for 2 weeks with no activity.