Skip to content

Commit

Permalink
fix(core/modal): skip tick during vdom rendering (#788)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielleroux committed Oct 4, 2023
1 parent 6280837 commit d28c6ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/components/modal/modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export class Modal {
*/
@Method()
async showModal() {
this.dialog?.showModal();
setTimeout(() => this.dialog.showModal());
}

/**
Expand Down

0 comments on commit d28c6ea

Please sign in to comment.