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

Nested modals #252

Open
lougreenwood opened this issue May 6, 2018 · 0 comments
Open

Nested modals #252

lougreenwood opened this issue May 6, 2018 · 0 comments
Labels

Comments

@lougreenwood
Copy link

Hi,

I have a set of nested modals, the parent modal contains buttons which open child modals.

I'd like to close the parent modal when opening a child modal. I've tried yielding the parent modal's closeModal action and then triggering that when a child is opened, but that just seems to close all modals.

Perhaps I'm doing something wrong, or perhaps the closeModal action closes all modals and not just the specific modal which yielded it?

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

No branches or pull requests

2 participants