Skip to content

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

Merged
kylefox merged 5 commits intokylefox:masterfrom
xfra35:issue146
Mar 17, 2016
Merged

New: closeExisting property (aka "multiple instances", fix #101)#146
kylefox merged 5 commits intokylefox:masterfrom
xfra35:issue146

Conversation

@xfra35
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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