Godofbrowser / vuejs-dialog

A lightweight, promise based alert, prompt and confirm dialog
MIT License
351 stars 111 forks source link

Clicking outside dialog should cancel #21

Closed hjortzen closed 6 years ago

hjortzen commented 6 years ago

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!

Godofbrowser commented 6 years ago

Thanks @hjortzen

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

maxorlovsky commented 6 years ago

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

hjortzen commented 6 years ago

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