visma-meglerfront / sweet-modal-vue

The sweetest library to happen to modals.
Other
757 stars 85 forks source link

When you click on modal and drag outside of it, the modal closes #117

Open irtgal opened 3 years ago

irtgal commented 3 years ago

This is especially annoying when selecting text inside input, and dragging a outside the modal. Then it just closes. Is this considered a bug? Is the only way to prevent this behaviour to add "blocking" attribute inside sweet-modal component?