Upgraded dialogs to use afterRender to setup the bootstrap modal instead of ready to avoid race conditions.
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user