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

@ -53,9 +53,11 @@ class OkDialog extends IgniteElement {
)
}
ready() {
afterRender() {
this.modal = new bootstrap.Modal(this.modalElement, { backdrop: "static" });
}
ready() {
if (this.autoOpen) {
this.open();
}