ericmmartin / simplemodal

A modal dialog framework for jQuery
http://simplemodal.com/
Other
506 stars 229 forks source link

Modal doesn't open when another modal is open #64

Closed ismaelw closed 8 years ago

ismaelw commented 8 years ago

I have a modal with two buttons in it. Both of these buttons should open another modal.

But both of these buttons don't open the other modals. If I add the buttons to open the second and third modal to the body and not to the first modal they both open.

Is there any way to get this to work?

JohnSThomas commented 8 years ago

That is considered bad UX. You should do something other than a modal. Maybe a curtain (slide down window), or change the contents of the modal itself. This is easy to do with jQuery.

ismaelw commented 8 years ago

Is this like the badest answer for a real code bug? Well, it's like a problem from a half year ago. I already used another modal for my tool. This one is good for one single modal. But for a complex page it's useless..

JohnSThomas commented 8 years ago

It is not a bug, it is a feature by design to prevent horrible user experiences. You should never have modals opening more modals. We will NOT add this as a feature.