Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't do multiple levels of modal pop-up #76

Open
craftyknave opened this issue Jan 15, 2015 · 0 comments
Open

Can't do multiple levels of modal pop-up #76

craftyknave opened this issue Jan 15, 2015 · 0 comments

Comments

@craftyknave
Copy link

I'm not sure if this was ever intended, but if not it would make a great feature! :-)

When you have one lightbox, and you try to add another on top of it, it doesn't enforce modal-ness of the second. The first overlays the background and prevents user interaction with it, The second pops on top (if you set the z-index right), but doesn't overlay the previous lightbox or prevent the user from interacting with it.

To give a concrete example, I've used this for a wizard. The wizard itself is a lightbox, that changes contents as you move from step to step. The page behind is overlaid and inaccessible, which is good. Sometimes at a step transition it is necessary to provide pop-up feedback to the user. I don't particularly want to overlay the wizard (this could be dealt with via opacity), but I do want the pop-up to be modal, and prevent the user from using the wizard until the pop-up is dismissed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant