aurelia-bs-modal
aurelia-bs-modal copied to clipboard
Showing property and binding problem when modal closed by backdrop
When the modal is hidden with backdrop, showing property stay true, so it couldn't be triggered next time even if you handle modal event
$(this.modal).on('hidden.bs.modal', (e) => {
this.showing = false;
})
but it won't help, because of further bindings I think the best way is to make show/hide methods and call them using ref Smth like that
<button click.delegate="myModal.myMethod()">
<modal modal.ref="myModal"></my-component>
But I didn't check that yet