Problem/Motivation
I experienced an unexpected behaviour when there are two modals in the same page.
In a certain page and at a certain time, two modals are piled up, the first being bigger than the second one, I can only see the first one.
- If I close the first one with Esc key or clicking outside the modal, I can see the second one and I can interact with it as expected.
- If I close the first one with the Right button, the second one is closed as well without doing anything else.
And the Redirect Link defined for the second modal is followed!
I would prefer to be able to act on second one as well 😇
Issue fork modal_page-3528843
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
renatog commentedNice catch
Comment #4
zeshan.ziya commentedI am picking it up.
Comment #6
zeshan.ziya commented@gbmapo I have raised an MR to fix the issue. Please review. CC: @renatog
Comment #7
renatog commentedThank you so much @zeshanziya - Great contribution. Really appreciated
I didn’t test yet however Just Reviewed the MR and seems good
I’m OOO traveling, but if someone test that please let us know and we’ll be able to merge
Comment #8
shubham_pareek_19 commentedreviewing it.
Comment #9
renatog commentedAmazing! Thanks @shubham_pareek_19
If works well for your please let us know and we can move forward
Comment #10
renatog commentedTested and everything worked like a charm
Comment #13
renatog commentedMoved to the dev branches 5.1.x and 6.0.x
Thanks @gbmapo for reporting and @zeshanziya for your great fix