reveal icon indicating copy to clipboard operation
reveal copied to clipboard

Second modal window - possible?

Open fulopattila122 opened this issue 12 years ago • 4 comments

I have a request where I have to display small modal windows on an already opened modal window containing a form. I added the click function on the modal form (as usual), and set the z-index of the second modal div to 9999. This way the second modal shows up well.

But when I close it, not only the second modal disappears, but also the background of the first modal. The first modal remains visible, however it can't be closed. Only a page reload seems to help.

Is it possible to have a second reveal modal on an open reveal modal window?

fulopattila122 avatar Apr 02 '12 14:04 fulopattila122

I've got the same request/issue.

tyssen avatar Jul 31 '12 06:07 tyssen

Actually, changing line 101 to $('.reveal-modal').trigger('reveal:close'); fixes this problem as it targets all divs with that class instead of just the parent of the close button being clicked.

tyssen avatar Jul 31 '12 06:07 tyssen

Re: "Actually, changing line 101 to $('.reveal-modal').trigger('reveal:close'); fixes this problem". Would you mind including from what line (101) to $('.reveal-modal').trigger('reveal:close');

telnz avatar Apr 22 '13 02:04 telnz

It doesn't actually fix it. When you click out of the modal (without using the close button), the issue is still there.

namzo avatar May 08 '14 16:05 namzo