Upgraded dialogs to use afterRender to setup the bootstrap modal instead of ready to avoid race conditions.

This commit is contained in:
2024-03-18 09:33:50 -07:00
parent a0e8d517c4
commit 270a5fbabf
3 changed files with 7 additions and 3 deletions

View File

@ -34,7 +34,7 @@ class Modal extends IgniteElement {
)
}
ready() {
afterRender() {
this.modalInstance = new bootstrap.Modal(this.modal, { backdrop: this.backdropClose ? "true" : "static" });
}