Godofbrowser/vuejs-dialog

Clicking outside dialog should cancel

hjortzen opened this issue · 3 comments

Hi!
First off: Brilliant dialog! I especially like the directive idea!

A feature request (I'll probably make a workaround for now) however:
Being able to configure if the dialog should close (cancel) when clicking outside the dialog (i.e. when clicking the mask)

Great work!

Thanks @hjortzen

I also think it'll be nice to have this feature.

It's already there
Vue.use(VueDialog, {
backdropClose: true
});

Yeah. I created the pull request that solved this issue.
Closing issue...