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

New: closeExisting property (aka "multiple instances", fix #101) #146

Merged
merged 5 commits into from
Mar 17, 2016

Conversation

xfra35
Copy link
Contributor

@xfra35 xfra35 commented Mar 14, 2016

This PR replaces #127. It has been merged against the latest version of the plugin.

In particular, due to the changes introduced in #110, I had to create a blocker for each modal. But that's fine since it fixes the issue described here.

Demo here.

I haven't included any new event, as I'm not sure how you see it. I understand that we should notify the user when we enter and exit the modal state, but maybe you'd like to separate each event in two (before/after), in the same way as you've defined "before_block" and "block".

@kylefox
Copy link
Owner

kylefox commented Mar 16, 2016

This looks great, really nice work.

If possible, can you add a demo to examples/index.html?

You could also run the min/changelog gulp tasks to prepare for a patch release, or I can do that after merging.

I haven't included any new event, as I'm not sure how you see it

It's probably fine as is — we can add/change events later depending on user feedback.

thanks again!

@xfra35
Copy link
Contributor Author

xfra35 commented Mar 17, 2016

Done. Happy merging ^^

kylefox added a commit that referenced this pull request Mar 17, 2016
New: closeExisting property (aka "multiple instances", fix #101)
@kylefox kylefox merged commit 7279b21 into kylefox:master Mar 17, 2016
@kylefox
Copy link
Owner

kylefox commented Mar 17, 2016

Thanks very much!

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

Successfully merging this pull request may close these issues.

2 participants